getgrav / grav-plugin-sitemap

Grav Sitemap Plugin
https://getgrav.org
MIT License
42 stars 42 forks source link

Content-type is text/html #20

Closed BugHunter2k closed 8 years ago

BugHunter2k commented 8 years ago

Don't know if it's the plugin or my server-config but my sitemap is sent with header:

Content-Type: text/html;charset=UTF-8

This should be application/xml

flaviocopes commented 8 years ago

Append .xml to render the page as XML and serving it as application/xml