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 does
- How do I comment out a block of tags in XML?
- Use of PUT vs PATCH methods in REST API real life scenarios
- How to parse XML and count instances of a particular node attribute?
- Looking for a clear description of Excel’s .xlsx XML format
- (Python) AttributeError: ‘NoneType’ object has no attribute ‘text’
- java.net.MalformedURLException: no protocol
- XSLT for each loop on simple XML
- XML Parsing Error: no root element found Location in Console FF
- XPath: Get parent node from child node
- What is the difference between Inclusive and Exclusive OR?
- How to parse XML data in SQL server table
- align text center with android
- javax.xml.bind.UnmarshalException: unexpected element (uri:””, local:”Group”)
- org.xml.sax.SAXParseException: Content is not allowed in prolog
- “ArrayAdapter requires the resource ID to be a TextView” XML problems
- How to read and write XML files?
- JaxbRepresentation gives error “doesnt contain ObjectFactory.class or jaxb.index”
- Root element is missing
- What is ?
- How to add a newline (line break) in XML file?
- 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?
- How to define xsi:type as an attribute in XML-schema?
- Why this line xmlns:android=”http://schemas.android.com/apk/res/android” must be the first in the layout xml file?
- How to integrate WordPress with Angular 8 for website?
- Call a REST API in PHP
- The entity name must immediately follow the ‘&’ in the entity reference
- How to implement if-else statement in XSLT?
- Error: The processing instruction target matching “[xX][mM][lL]” is not allowed
- understanding position() function in XSLT
- android.content.res.Resources$NotFoundException: String resource ID #0x0
- How to set menu to Toolbar in Android
- YAML compared to XML
- XML schema error – root element of a w3c xml schema
- What to use instead of “addPreferencesFromResource” in a PreferenceActivity?
- XSLT Transform XML with Namespaces
- Embed podcast feed in wordpress
- WordPress WXR Specification
- When importing – failed to import: Invalid post type feedback
- Plugin or advice on how to parse XML in real-time?
- How to re-Import the WordPress XML file after editing?
- Should I store external API data in my WP database or keep it as a transient?
- How to read the xml file in wordpress?
- parse XML from URL (via SOAP)
- WordPress import does not fetch images, but just links them
- XML export posts from one single day
- How can I process xml file on upload?
- Importing wordpress. xml file on new installation
- Output JSON object with woocommerce products
- XML asset fails to load using https
- The problem with WordPress Importer
- RSS/XML of all Categories and/or Tags
- update_post_meta, xml parser
- Generate/save JSON or XML file from JSON script
- How to make a XML/PHP file returning custom field data from page
- How to block XML-RPC attack?
- WP http XML response HTML encoding and image display problems
- Export xml use/import images from theme directory
- Query posts and return XML
- wp_get_attachment_url images in wrong order [closed]
- SOAP Request/Parsing XML From wp_send_json_success
- Add valid XHTML closing img tags to WordPress galleries
- RSS/Atom feeds invalid, “Mismatched tag” errors
- WordPress content on non-WP site residing on a remote domain — how to display posts?
- How can transfer get so large when exporting data (15-16MB to over 10GB)
- Get Post ID as a separate RSS feed item
- Error in importing wordpress xml [closed]
- Export post data with xml to other site using php soap
- How do you code a featured image into an XML as a jpg link, instead of using a data-id number?
- WordPress xml import too slow
- XML FOLDER – wp_insert_post – how to assign XML variables to post
- Create Post Types from a XML url (Real Estate website)
- Extract XML/JSON element from Zillow API response and populate into Gravity Forms field
- WordPress sitemap “Extra content at the end of the document”
- How do I get data from my database into my Custom Export Field
- Creating a WordPress addon for ContactForm7 submission (.XML file export)
- stop duplicate post
- How can I export data without using any import/export plugin
- How can I get post text from all posts on a WordPress news site?
- Converting restricted html in comments to bbcode
- Serve content from centralized location
- What method should I use to store my plugin data (multi level menus with options on each item)
- Make posts automatically from an Online XML file through wp cron job
- I’m think I’ve found a bug with JetPack 1.7 [closed]
- WP-all-import problems with large input file [closed]
- How to import data from another website using an API link?