[Rails] Re: HTML Fragment not Loading in Firefox; Fine Elsewhere

Sean McMains
2006-01-02T16:52:06Z

Ok, I got this sorted out with the help of the very talented Seth
Dillingham. I had dropped in some puts commands, expecting that they''d
be logged somewhere. What I didn''t realize is that they were, instead,
being dumped to the http response. Firefox was seeing them at the top of
the headers and trying to interpret them as headers, which of course
drove it mad. I stripped those out so that all that was left was the
real headers, and everything''s working great now.

Sean

Sean McMains wrote:
> Ok, this has got me going a bit crazy. I have an HTML fragment being
> returned for the result to an AJAX query. It works fine in Safari or
> from curl (and even in IE/Mac), but utterly fails to load in Firefox,
> even if I point directly to the URL, skipping all that AJAX stuff in
> between. (The server logs show a 200 response, regardless of which
> browser is being used.) I''ve verified that there are no Javascript
> errors and have validated the HTML -- everything looks great.

--
Posted via http://www.ruby-forum.com/.