[wp-trac] [WordPress Trac] #15110: Useless MIME type served for rss feeds
WordPress Trac
wp-trac at lists.automattic.com
Wed Oct 13 14:16:54 UTC 2010
#15110: Useless MIME type served for rss feeds
--------------------------+-------------------------------------------------
Reporter: singpolyma | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Feeds | Version: 3.0
Severity: normal | Keywords: mime
--------------------------+-------------------------------------------------
Both /feed/, /feed/rss2/, and /feed/rss/ are served using the very
undescriptive and generally useless "text/xml" MIME type. ATOM and RDF
feeds are served with their proper MIME types. It looks like the MIME
types for RSS are in feed.php, but for some reason there is a special
"rss-http" type that returns the useless type? Changing the first line in
feed-rss.php and feed-rss2.php to use the rss and rss2 type instead of
rss-http fixed it on my site.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15110>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list