[Mongrel] FF1.0 + Prototype Ajax not working in 0.3.13.x
zedshaw at zedshaw.com
Thu Aug 3 03:26:52 EDT 2006
On Mon, 2006-07-17 at 13:18 +0800, choonkeat wrote:
> 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.
Hey, could you file this in the bug tracker so I can work it? Thanks.
I'd do it but I'm busy :-)
More information about the Mongrel-users