What’s the difference between text/xml vs application/xml for webservice response

This is more of a general question about the difference between text/xml and application/xml.
I am fairly new to writing webservices (REST – Jersey). I have been producing application/xml since it is what shows up in most tutorials / code examples that I have been using to learn, but I recently found out about text/xml and was wondering what is different about it and when would you use it over application/xml?

4 s
4

Leave a Comment