diff options
author | franck <franck@lumberjaph.net> | 2011-07-13 10:09:04 -0700 |
---|---|---|
committer | franck <franck@lumberjaph.net> | 2011-07-13 10:09:04 -0700 |
commit | ec6100cb5e76dd24c34c676ce4ab283e97ca90cb (patch) | |
tree | b86df2473f4ca7b4abcf178e360d846e1b128ff3 | |
parent | update version (diff) | |
parent | support all HTTP methods (diff) | |
download | net-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.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'; |