Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #36334, comment 9


Ignore:
Timestamp:
04/18/2016 10:09:09 AM (9 years ago)
Author:
mpol
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36334, comment 9

    initial v1  
    22
    33I will see if I understand it enough to add this to the Codex.
     4
     5To be clear, Example A does not set any header for the RSS Feed:
     6
     7{{{
     8$ HEAD domain.com/?feed=superfeed
     9200 OK
     10Connection: close
     11Date: Mon, 18 Apr 2016 09:55:56 GMT
     12ETag: "a74e88ee3b1032ef8aae37c9d51c6eb4"
     13Server: Apache/2.4.20 (Mageia) OpenSSL/1.0.2g PHP/7.0.5
     14Content-Type: application/octet-stream; charset=UTF-8
     15Last-Modified: Mon, 18 Apr 2016 09:51:53 GMT
     16Client-Date: Mon, 18 Apr 2016 09:55:56 GMT
     17Client-Peer: 192.168.0.3:80
     18Client-Response-Num: 1
     19Link: <http://domain.com/?rest_route=/>; rel="https://api.w.org/"
     20X-Powered-By: PHP/7.0.5
     21}}}
     22
     23Example B does have the header
     24
     25{{{
     26Content-Type: application/rss+xml; charset=UTF-8
     27}}}
     28