summary refs log tree commit diff
path: root/lib/Net/HTTP/Spore/Meta/Method.pm
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-11-01 09:36:31 +0100
committerfranck cuny <franck@lumberjaph.net>2010-11-01 09:36:31 +0100
commit730f149906a80efcf2a662450ee522af740a0cc9 (patch)
tree4d776f9b7da3301310a4302dfbebf28c5fc38673 /lib/Net/HTTP/Spore/Meta/Method.pm
parentfix method name (diff)
parentadd headers (diff)
downloadnet-http-spore-730f149906a80efcf2a662450ee522af740a0cc9.tar.gz
merge
Diffstat (limited to 'lib/Net/HTTP/Spore/Meta/Method.pm')
-rw-r--r--lib/Net/HTTP/Spore/Meta/Method.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Net/HTTP/Spore/Meta/Method.pm b/lib/Net/HTTP/Spore/Meta/Method.pm
index 8a1e0a4..10132ed 100644
--- a/lib/Net/HTTP/Spore/Meta/Method.pm
+++ b/lib/Net/HTTP/Spore/Meta/Method.pm
@@ -76,6 +76,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',