[Mongrel] Mongrel 0.3.13.4 headers seem a bit broken...

Jonathan del Strother maillist at steelskies.com
Sat Aug 12 18:28:34 EDT 2006


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 


More information about the Mongrel-users mailing list