Frederick Cheung wrote: > On Jun 8, 4:51�pm, Ralph Shnelvar <[email protected]> wrote: > >> >> Do you know of any tutorial that explains this header stuff? > > Setting headers is pretty easy: > > response.headers['X-JSON'] = blah.to_json > > And then in your client side code look at the the header and read the > JSON (prototype will do this for you, jquery might not) > > Fred
Fred and all: Thank you, Fred. What is all this header and body stuff? I'd really like to understand this. Is there an overview? I have Googled stuff but ... I'm not finding any meat. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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-talk?hl=en.

