Jonathan del Strother
2006-Aug-12 22:28 UTC
[Mongrel] Mongrel 0.3.13.4 headers seem a bit broken...
I''m running a Rails (r4720) app on OS X 10.4.6. Mongrel 0.3.13.3 works perfectly for me. Mongrel 0.3.13.4, not so much. Redirects don''t work, for one thing. This rails code : redirect_to :action => ''login'' correctly redirects me on 0.3.13.3. Here''s the header I get back : HTTP/1.1 302 Moved Temporarily Content-Length: 93 Connection: close Date: Sat, 12 Aug 2006 22:13:41 GMT Set-Cookie: _session_id=e554ff2d043cb79b961cc033b6718b5e; path=/ Status: 302 Found Cache-Control: no-cache Server: Mongrel 0.3.13.3 Content-Type: text/html location: http://localhost:3000/login On 0.3.13.4, I get the same body back, but it doesn''t redirect me. Here''s the header : HTTP/1.1 404 Not Found Connection: close Date: Sat, 12 Aug 2006 22:19:33 GMT Content-Length: 93 Hmm. Odd... Similarly, rjs responses don''t work for me in 0.3.13.4. I get this header : Connection: close Date: Sat, 12 Aug 2006 22:19:13 GMT Content-Length: 4850 and the browser just sits there. In 0.3.13.3, I get this header : Content-Length: 334 Connection: close Date: Sat, 12 Aug 2006 22:10:50 GMT Set-Cookie: _session_id=8df9b662a48e72c90d96cb9da9792491; path=/ Status: 200 OK Cache-Control: no-cache Server: Mongrel 0.3.13.3 Content-Type: text/javascript which works fine. Did I miss some vital step somewhere? -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2114 bytes Desc: not available Url : http://rubyforge.org/pipermail/mongrel-users/attachments/20060812/f83dc80f/attachment.bin
On Sat, 2006-08-12 at 23:28 +0100, Jonathan del Strother wrote:> I''m running a Rails (r4720) app on OS X 10.4.6. Mongrel 0.3.13.3 > works perfectly for me. Mongrel 0.3.13.4, not so much. > > Redirects don''t work, for one thing. This rails code :Yep, just caught that and fixed it up. Grab the pre-release again and test for me. Getting closer, but as usual don''t run this in production just yet. -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.railsmachine.com/ -- Need Mongrel support?
Jonathan del Strother
2006-Aug-13 01:37 UTC
[Mongrel] Mongrel 0.3.13.4 headers seem a bit broken...
On 13 Aug 2006, at 00:29, Zed Shaw wrote:> On Sat, 2006-08-12 at 23:28 +0100, Jonathan del Strother wrote: >> I''m running a Rails (r4720) app on OS X 10.4.6. Mongrel 0.3.13.3 >> works perfectly for me. Mongrel 0.3.13.4, not so much. >> >> Redirects don''t work, for one thing. This rails code : > > Yep, just caught that and fixed it up. Grab the pre-release again and > test for me.Nice work, seems to be all fixed now -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2114 bytes Desc: not available Url : http://rubyforge.org/pipermail/mongrel-users/attachments/20060813/165c4213/attachment.bin