summary refs log tree commit diff
diff options
context:
space:
mode:
authorStevan Little <stevan.little@iinteractive.com>2011-07-13 11:19:40 -0400
committerStevan Little <stevan.little@iinteractive.com>2011-07-13 11:19:40 -0400
commit2eeb90ad01a3be596aab5872b71163f2bfe4b63a (patch)
treeb86df2473f4ca7b4abcf178e360d846e1b128ff3
parentupdate version (diff)
downloadnet-http-spore-2eeb90ad01a3be596aab5872b71163f2bfe4b63a.tar.gz
support all HTTP 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';