summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck <franck@lumberjaph.net>2011-07-13 10:09:04 -0700
committerfranck <franck@lumberjaph.net>2011-07-13 10:09:04 -0700
commitec6100cb5e76dd24c34c676ce4ab283e97ca90cb (patch)
treeb86df2473f4ca7b4abcf178e360d846e1b128ff3
parentupdate version (diff)
parentsupport all HTTP methods (diff)
downloadnet-http-spore-ec6100cb5e76dd24c34c676ce4ab283e97ca90cb.tar.gz
Merge pull request #8 from stevan/master
Adding in all the remaining HTTP 1.1 methods
-rw-r--r--lib/Net/HTTP/Spore/Meta/Method.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Net/HTTP/Spore/Meta/Method.pm b/lib/Net/HTTP/Spore/Meta/Method.pm
index 21d29e6..5c59dcf 100644
--- a/lib/Net/HTTP/Spore/Meta/Method.pm
+++ b/lib/Net/HTTP/Spore/Meta/Method.pm
@@ -17,7 +17,7 @@ subtype UriPath
     => where { $_ =~ m!^/! }
     => message {"path must start with /"};
 
-enum Method => qw(HEAD GET POST PUT DELETE);
+enum Method => qw(OPTIONS HEAD GET POST PUT DELETE TRACE);
 
 subtype 'JSON::XS::Boolean' => as 'JSON::XS::Boolean';
 subtype 'JSON::PP::Boolean' => as 'JSON::PP::Boolean';