View Full Version : Firefox / ContentLength

25 Jun 2007, 11:57 AM
I was loading some dynamic form content, and it worked quite nicely in IE7 and Safari. However, it did not on firefox. One of my forms did load fine on firefox. It had me half way to insane for a day and a half. I finally discovered it was silently throwing a 411 (didn't pass the error to rails... ) Turns out, that unless I post data (such as my 1 form with baseParams: in my load();), firefox omits content-length. However, if I method: 'GET', it loads just fine. Perhaps firefox requires some specific catch, so in case it's not posting any data, it still sets a content-length of 0, somewhere in the ajax stuff...

Usually firefox is pretty robust, but not on this specific case... :(