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