Rather than HTML, I want my page to return XML (it's an Atom feed).
I want this:
<?xml version="1.0" encoding="UTF-8"?>
But the response is being rendered like this:
There are two issues:
- The XML declaration is missing
- The Atom namespace is being stripped from the <feed> element