Make WordPress Core

Opened 19 years ago

Closed 18 years ago

#1093 closed enhancement (wontfix)

Automatic content-type negotiation

Reported by: idanso's profile idanso Owned by: matt's profile matt
Milestone: Priority: normal
Severity: normal Version: 1.5
Component: General Keywords:
Focuses: Cc:


While delivering mostly validating xhtml content, wordpress does not currently support sending it's documents as application/xhtml+xml mime type:

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)

xhtml_negotiation.patch (5.7 KB) - added by idanso 19 years ago.

Download all attachments as: .zip

Change History (6)

#1 @idanso
19 years ago

  • Patch set to No

#2 @matt
19 years ago

  • Owner changed from anonymous to matt
  • Resolution changed from 10 to 90
  • Status changed from new to closed

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.

#3 @idanso
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.

#4 @markjaquith
19 years ago

The problem I see is that random users might check that box, not knowing what it is. It's rather one of those things where if you're geeky enough to want to do this, you're geeky enough to figure out how to do. But that's just my take.

#5 @markjaquith
18 years ago

  • Resolution set to wontfix
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.