[Mongrel] HTTP 1.1 parser and non-standard request methods

Doug Beaver doug at beaver.net
Fri Apr 7 15:30:03 EDT 2006


hi,

i was thinking of creating a WebDAV plugin for mongrel, but ran into an
issue...  the http parser hardcodes which request methods it considers
valid, so it blocks non-standard request methods like MKCOL, PROPFIND,
etc.  i'm not familiar with the type of grammar being used for the
parser, but is it possible to defer the request method validation to a
later point, possibly inside the HttpHandler#process callback?

thanks,

doug

-- 
"Contrary to what most people say, the most dangerous animal in the
world is not the lion or the tiger or even the elephant.  It's a shark
riding on an elephant's back, just trampling and eating everything they
see." -- Jack Handey


More information about the Mongrel-users mailing list