Opened 22 years ago
Closed 21 years ago
#1093 closed enhancement (wontfix)
Automatic content-type negotiation
| Reported by: | idanso | Owned by: | matt |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 1.5 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
While delivering mostly validating xhtml content, wordpress does not currently support sending it's documents as application/xhtml+xml mime type:
http://www.w3.org/TR/xhtml-media-types/
There is a "hidden pref" in 1.5 that allows setting an explicit content-type('html_type'), but it performs no content negotiation, thus blocking non-xhtml browsers.]
This patch obsoletes the 'html_type' pref, and introduces 'use_xhtml_mime' instead. when enabled, it sends application/xhtml+xml or text/html based on information from the "Accept" header.
Attachments (1)
Change History (6)
#3
@
22 years ago
- Resolution 90 → 30
- Status closed → assigned
The application/xhtml+xml support is _optional_ and _disabled_ by default. it is only enabled if the web author chooses too.
Making the switch to application/xhtml+xml should be a concious decision on the part of the weblog author and should require a little work.