Am Freitag, 2. Juni 2006 19:17 schrieb John Wang: > On 6/1/06, John Wang <[EMAIL PROTECTED]> wrote: > > Does anyone know what the max length for a header in IE is? When my > > X-JSON value is 138 bytes, it works fine but when it's 1659 it fails. Is > > this documented anywhere? > > I put up a blog entry on this. For now I'm just going to put the JSON > string in the response body and eval it myself. Since the IE6 length > problem doesn't exist when the JSON string is in the response body and > other AJAX libraries expect the JSON object there, does it make sense for > prototype to move that way as well? > > http://dev411.blogspot.com/2006/06/prototype-x-json-fails-on-long-value.htm >l
Hi John, i agree with you, that's indeed a problem. For me there's another (pragmatic) point that speaks for the content-type. I use the Firefox Firebug extension to debug my JSON stuff. And i find it much easier to read the response directly in response tab than between the lines in the headers tab. -- Dirk Eschler <mailto:[EMAIL PROTECTED]> http://www.krusader.org _______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
