This is an old question, but one that is frequently visited and clear recommendations are now available from RFC 7303 which obsoletes RFC3023. In a nutshell (section 9.2):
The registration information for text/xml is in all respects the same as that given for application/xml above (Section 9.1), except that the "Type name" is "text".
Related Posts:
- How do I POST JSON data with cURL?
- How do I POST JSON data with cURL?
- Getting “java.io.IOException: An existing connection was forcibly closed by the remote host”
- What is the correct JSON content type?
- What is the correct JSON content type?
- What is the correct JSON content type?
- How to do a PUT request with cURL?
- How to use cURL to send Cookies?
- How do I POST JSON data with cURL?
- HTTP GET with request body
- MessageBodyWriter not found for media type=application/json
- What is the difference between POST and PUT in HTTP?
- What is the difference between POST and PUT in HTTP?
- SOAP vs REST (differences)
- How do I comment out a block of tags in XML?
- What does
- How to pretty print XML from the command line?
- How do I comment out a block of tags in XML?
- Use of PUT vs PATCH methods in REST API real life scenarios
- What does “xmlns” in XML mean?
- How to convert JSON to XML or XML to JSON?
- How to parse XML and count instances of a particular node attribute?
- How to use XPath contains() here?
- Looking for a clear description of Excel’s .xlsx XML format
- Parse XML using JavaScript [duplicate]
- (Python) AttributeError: ‘NoneType’ object has no attribute ‘text’
- System.Net.Http: missing from namespace? (using .net 4.5)
- XSLT-FO for-each
- java.net.MalformedURLException: no protocol
- What characters do I need to escape in XML documents?
- “Content is not allowed in prolog” when parsing perfectly valid XML on GAE
- Meaning of –
- XSLT for each loop on simple XML
- A message body writer for Java class java.util.ArrayList and MIME media type application/json was not found
- AttributeError: ‘list’ object has no attribute ‘replace’ when trying to remove character
- Is XML a programming language?
- Convert XML to CSV file
- What is the best/simplest way to read in an XML file in Java application?
- AttributeError: ‘list’ object has no attribute ‘replace’ when trying to remove character
- How do I read and parse an XML file in C#?
- XML Parsing Error: not well-formed
- Text editor to open big (giant, huge, large) text files
- Opening JSF Facelets page shows “This XML file does not appear to have any style information associated with it.”
- XML Parsing Error: no root element found Location in Console FF
- AttributeError: ‘list’ object has no attribute ‘replace’ when trying to remove character
- Converting XML to JSON using Python?
- org.glassfish.jersey.servlet.ServletContainer ClassNotFoundException
- How To Auto-Format / Indent XML/HTML in Notepad++
- ImageView in circular through XML
- java.lang.ClassNotFoundException: com.sun.jersey.spi.container.servlet.ServletContainer
- XPath: Get parent node from child node
- What is the difference between Inclusive and Exclusive OR?
- How do you parse and process HTML/XML in PHP?
- Flask example with POST
- What is the best open XML parser for C++?
- Manifest Merger failed with multiple errors in Android Studio
- How to parse XML data in SQL server table
- Converting JSON to XML in Java
- align text center with android
- PHP convert XML to JSON
- How to convert an XML string to a dictionary?
- In_array not working
- xmlns, xmlns:xsi, xsi:schemaLocation, and targetNamespace?
- javax.xml.bind.UnmarshalException: unexpected element (uri:””, local:”Group”)
- org.xml.sax.SAXParseException: Content is not allowed in prolog
- How to call a REST web service API from JavaScript?
- ‘xmlParseEntityRef: no name’ warnings while loading xml into a php file
- Using Wikipedia API on custom wikis like Bulbapedia
- Display XML content in HTML page
- “ArrayAdapter requires the resource ID to be a TextView” XML problems
- HTTP Status 500 Error instantiating servlet class
- AttributeError: ‘str’ object has no attribute ‘items’
- An established connection was aborted by the software in your host machine tomcat jackson
- MultipartException: Current request is not a multipart request
- How can I escape “&” in XML?
- How to read and write XML files?
- How to fix error: The markup in the document following the root element must be well-formed
- XmlSerializer – There was an error reflecting type
- What’s “tools:context” in Android layout files?
- JaxbRepresentation gives error “doesnt contain ObjectFactory.class or jaxb.index”
- What’s the difference between “Request Payload” vs “Form Data” as seen in Chrome dev tools Network tab
- Cannot resolve symbol ‘button’ -Android Studio
- Root element is missing
- What is ?
- How to add a newline (line break) in XML file?
- PHP cURL HTTP PUT
- The ResourceConfig instance does not contain any root resource classes
- Read XML file using javascript
- Error -1072896636 “DTD Prohibited” when opening xml file in Excel, what do I do?
- No module named urllib3
- How to define xsi:type as an attribute in XML-schema?
- What are invalid characters in XML
- How to convert array to SimpleXML
- Why this line xmlns:android=”http://schemas.android.com/apk/res/android” must be the first in the layout xml file?
- RestClientException: Could not extract response. no suitable HttpMessageConverter found
- The remote server returned an error: (405) Method Not Allowed. WCF REST Service
- How to integrate WordPress with Angular 8 for website?
- How to POST JSON Data With PHP cURL?
- How to make layout with rounded corners..?
- How do I escape ampersands in XML so they are rendered as entities in HTML?