diff options
author | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-04-08 18:00:35 +0000 |
---|---|---|
committer | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-04-08 18:00:35 +0000 |
commit | d95ed2690eaad1624a3797ee263ffc5b99819873 (patch) | |
tree | 8670db1e6dec4585f66638b07da7f94a1ef3bcee /ext/http11/http11_parser.rl | |
parent | 35940eb82f13da239ef65e89b11e803498097c8c (diff) | |
download | unicorn-d95ed2690eaad1624a3797ee263ffc5b99819873.tar.gz |
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@151 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'ext/http11/http11_parser.rl')
-rw-r--r-- | ext/http11/http11_parser.rl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/http11/http11_parser.rl b/ext/http11/http11_parser.rl index af3a444..0b25250 100644 --- a/ext/http11/http11_parser.rl +++ b/ext/http11/http11_parser.rl @@ -89,7 +89,7 @@ absolute_path = ("/" rel_path) >mark ; Request_URI = ("*" >mark %request_uri | absolute_uri | absolute_path) ; - Method = ("OPTIONS"| "GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "TRACE") >mark %request_method; + Method = (upper | digit | safe){1,20} >mark %request_method; http_number = (digit+ "." digit+) ; HTTP_Version = ("HTTP/" http_number) >mark %http_version ; |