[wp-trac] [WordPress Trac] #11060: Content-Type of XML feeds is misstated as 'text/html'
WordPress Trac
wp-trac at lists.automattic.com
Mon Nov 2 01:56:41 UTC 2009
#11060: Content-Type of XML feeds is misstated as 'text/html'
--------------------------+-------------------------------------------------
Reporter: celejar0 | Owner: dd32
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: HTTP | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
I access blog XML feeds via a caching proxy (squid). The Content-Type in
the HTTP response headers is initially reported correctly as 'text/xml',
but when a subsequent request is made and the object is stale, wordpress
sometimes returns a '304 Not Modified', but also incorrectly re-
characterizes the Content-Type as 'text/html'. Example:
{{{
HTTP/1.0 304 Not Modified
X-Pingback: http://wordpress.org/development/xmlrpc.php
Last-Modified: Sat, 31 Oct 2009 21:28:00 GMT
ETag: "a4aa82a49dbe294617210eb367fa0997"
Content-type: text/html
Date: Mon, 02 Nov 2009 01:25:17 GMT
Server: LiteSpeed
Connection: close
}}}
I've seen this on 'wordpress.org/development/feed' (LiteSpeed), on a
wordpress.com hosted blog (nginx), and on an independent site running
wordpress (Apache).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11060>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list