What is the MIME Type for XHTML Mobile Profile documents?
• XHTML Mobile Profile documents do not have a single MIME media type. However, the most preferred MIME type is application/vnd.wap.xhtml+xml which should be used for serving XHTML documents to XHTML user agents. In addition application/xhtml+xml can also be used. Another available MIME type is text/html but using it for XHTML should be limited to rendering on existing HTML user agents. XHTML documents served as text/html will not be processed as XML. As a result, structural errors may not be detected by user agents. Authors who wish to support both XHTML and HTML user agents may utilize content negotiation by serving HTML documents as text/html and XHTML documents as application/vnd.wap.xhtml+xml.
• XHTML Mobile Profile documents do not have a single MIME media type. However, the most preferred MIME type is application/vnd.wap.xhtml+xml which should be used for serving XHTML documents to XHTML user agents. In addition application/xhtml+xml can also be used. Another available MIME type is text/html but using it for XHTML should be limited to rendering on existing HTML user agents. XHTML documents served as text/html will not be processed as XML. As a result, structural errors may not be detected by user agents. Authors who wish to support both XHTML and HTML user agents may utilize content negotiation by serving HTML documents as text/html and XHTML documents as application/vnd.wap.xhtml+xml.