Opened 20 years ago
Closed 19 years ago
#1093 closed enhancement (wontfix)
Automatic content-type negotiation
Reported by: | idanso | Owned by: | matt |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 1.5 |
Component: | General | Keywords: | |
Focuses: | Cc: |
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)
#2
@
19 years ago
- Owner changed from anonymous to matt
- Resolution changed from 10 to 90
- Status changed from new to closed
#3
@
19 years ago
- Resolution changed from 90 to 30
- Status changed from closed to assigned
The application/xhtml+xml support is _optional_ and _disabled_ by default. it is only enabled if the web author chooses too.
Note: See
TracTickets for help on using
tickets.
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.