I was wondering how to modify the headers content-type to text/xml in ruby on rails. I want to do this because an android app i’m developing retrieves data by parsing xml from a remote link. The server retrieves the data and outputs it as xml. So I just need to change the content-type so the app can parse the data properly.
Any help would be appreciated.
From Rails guides: