Open gabstv opened 5 years ago
Some rss feed readers won't accept the xml content if the response header outputs text/html:
GET https://golangnews.com/index.xml
HTTP/1.1 200 content-encoding: gzip content-security-policy: frame-ancestors 'self'; style-src 'self'; script-src 'self' www.google-analytics.com content-type: text/html; charset=utf-8 date: Wed, 28 Nov 2018 18:27:17 GMT referrer-policy: strict-origin status: 200 strict-transport-security: max-age=63072000; includeSubDomains; preload vary: Accept-Encoding x-content-type-options: nosniff x-xss-protection: 1; mode=block
how did you fix it?
Some rss feed readers won't accept the xml content if the response header outputs text/html:
GET https://golangnews.com/index.xml