diff options
author | Stevan Little <stevan.little@iinteractive.com> | 2011-07-13 11:19:40 -0400 |
---|---|---|
committer | Stevan Little <stevan.little@iinteractive.com> | 2011-07-13 11:19:40 -0400 |
commit | 2eeb90ad01a3be596aab5872b71163f2bfe4b63a (patch) | |
tree | b86df2473f4ca7b4abcf178e360d846e1b128ff3 | |
parent | update version (diff) | |
download | net-http-spore-2eeb90ad01a3be596aab5872b71163f2bfe4b63a.tar.gz |
support all HTTP methods
-rw-r--r-- | lib/Net/HTTP/Spore/Meta/Method.pm | 2 |
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'; |