summary refs log tree commit diff
path: root/lib/Net/HTTP
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-10-30 12:49:21 +0200
committerfranck cuny <franck@lumberjaph.net>2010-10-30 12:49:21 +0200
commite7dfc750a97155dc4f7616c5fbbb831b221f5594 (patch)
treee0ab35aff6459eb2926b3fae2ec354cf060f2e7b /lib/Net/HTTP
parentfix test (diff)
downloadnet-http-spore-e7dfc750a97155dc4f7616c5fbbb831b221f5594.tar.gz
add headers
Diffstat (limited to 'lib/Net/HTTP')
-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 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',