Move absolute URI parsing into HTTP parser
commited4f50016ab0eab1ebbeac2fe1d0fd8712c7ee91
authorEric Wong <normalperson@yhbt.net>
Tue, 21 Apr 2009 18:14:39 +0000 (21 11:14 -0700)
committerEric Wong <normalperson@yhbt.net>
Tue, 21 Apr 2009 18:16:21 +0000 (21 11:16 -0700)
tree5c232a2f34271090ad6512d565ee2f3aee39e7af
parent357fb0a21fdfe6ff3af522a2463248e20b2fa8be
Move absolute URI parsing into HTTP parser

It's part of the HTTP/1.1 (rfc2616), so we might as well
handle it in there and set PATH_INFO while we're at it.

Also, make "OPTIONS *" test not fail Rack::Lint
ext/unicorn/http11/http11.c
ext/unicorn/http11/http11_parser.c
ext/unicorn/http11/http11_parser.rl
ext/unicorn/http11/http11_parser_common.rl
lib/unicorn/http_request.rb
test/unit/test_http_parser.rb
test/unit/test_request.rb