nihaopaul wrote: > On Apr 27, 2:21 am, tobie <[EMAIL PROTECTED]> wrote: >> You'd be safer outputting your JSON in the responseText rather than in >> a header. > > > Tobie, my new best friend!
While some cases require putting the JSON in the body instead of headers since browsers do limit the sizes of headers they accept (anyone know where these limits are documented for each browser?), I will point out that you don't have to. In your case safari has an issue where it won't process the headers if there's no body content in the response. So simply adding an empty newline char or something similar would have made your original problem work. -- Michael Peters Developer Plus Three, LP --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
