> > You should just be able to set headers['foo'] in your controller. > > Fred
Thanks Fred! Yeah I've tried several ways. Now I've managed to get: {"Cache-Control"=>"no-cache", "Authentication-info"=>"rspauth=`xxxxxxxxxxx...xxxxxxxxxxx`,qop=`auth-int`,cnonce=`xxxxxxxxxxxxxxxxxx....xxxxxxxxxxxxx`,nc=`00000001`", "Content-Type"=>"application/xml"} I still have problems with the content-type and getting rid of cache-control headers. For the content-type I've tried: response.content_type = "xxxx" and headers['Content-type'] = "xxxx" but still get always the "default" one. Haven't yet really tried to get rid of the cache-control. The response is generated like: respond_to do |format| format.xml end Thanks. -- 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---