How do I set the accept header for an AJAX request from the remote_function helper? I''ve tried everything I can think of but no dice. <%= remote_function( # ... :requestHeaders => { :Accept => "application/xml" }, # ... ) %> What I want: new Ajax.Request(url, { ... requestHeaders: { "Accept" : "application/xml"}, ... }); Thanks in advance --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---