thanks a lot David, I have my answer! Thierry
On 20 mai, 19:18, David Dashifen Kees <[EMAIL PROTECTED]> wrote: > Yes, you can send put a json string in an X-JSON header and it will be > evaluated and available in your callback functions. For more > information, seehttp://prototypejs.org/api/ajax/requestand look for > the headings "Automatic JavaScript response evaluation" and "Evaluating > JSON headers." That should answer all of your questions. > > - Dash - > > yreit wrote: > > Hi all, > > > I would like to know if the Prototype framework is able to detect > > "json" response only by the way of the non-standard header "x-json"? > > Is Prototype able to parse the standard "content-type" response header > > and detect a "not yet standard" mime type like "application/json", or > > something else? > > > Thanks for this great framework. > > best regards, > > Thierry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
