From e7dfc750a97155dc4f7616c5fbbb831b221f5594 Mon Sep 17 00:00:00 2001 From: franck cuny Date: Sat, 30 Oct 2010 12:49:21 +0200 Subject: add headers --- lib/Net/HTTP/Spore/Meta/Method.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/Net/HTTP') diff --git a/lib/Net/HTTP/Spore/Meta/Method.pm b/lib/Net/HTTP/Spore/Meta/Method.pm index 54967e9..b546d74 100644 --- a/lib/Net/HTTP/Spore/Meta/Method.pm +++ b/lib/Net/HTTP/Spore/Meta/Method.pm @@ -68,6 +68,11 @@ has formats => ( isa => ArrayRef [Str], predicate => 'has_formats', ); +has headers => ( + is => 'ro', + isa => HashRef [Str], + predicate => 'has_headers', +); has expected_status => ( traits => ['Array'], is => 'ro', -- cgit 1.4.1