Hi guys,

I have a funny problem that only occurs in FF1.0.x but works fine and dandy in FF1.5. I'd thought its me screwing up with the JS... but even this " What time is it" doesn't work with until I downgrade to Mongrel 0.3.12.4. I don't like/use FF1.0 too.. but too bad for me...

Apparently stuff like Rails' link_to_remote or plain new Ajax.request doesn't work when running with Mongrel 0.3.13.x. Luckily helpful error messages introduced in 0.3.13.4 solved my mystery:

BAD CLIENT (127.0.0.1): Sent body size 2 but declared Content-Length: 0

Anyways, to have a (Firefox 1.0+Prototype)-friendly Mongrel, just change line 203 to:

if remain == 0 || remain < 0

In case anyone else has problems. Hopefully other parts of the sky don't fall due to this.

--
choonkeat
http://blog.yanime.org/
http://www.rssfwd.com/

_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to