Pedro CĂ´rte-Real
2006-Jul-17 13:57 UTC
[Rails] Difference between mongrel and webrick handling request.request_uri
If I do this GET request: GET /comments/new?description_id=1 HTTP/1.1 what ends up in request.request_uri is different for mongrel and webrick: Mongrel: "/comments/new" Webrick: "/comments/new?description_id=1" The mongrel behaviour breaks my app because I''m storing the uri to redirect to it later. Mongrel even logs the request as: 127.0.0.1 - [Mon, 17 Jul 2006 13:53:40 GMT] "GET /comments/new HTTP/1.1" which is clearly wrong and that''s not what was passed to the server as the request. Is this a known bug? Pedro.
Reasonably Related Threads
- Making Mongrel/WEBRick serve static assets with future expires header
- page caching urls with space characters broken in webrick and mongrel
- script/server hangs webrick and mongrel
- What's new about the Webrick/Mongrel situation ?
- Managing requests for static content in WEBrick and Mongrel