I think the title of this thread sort of tells the story. It's very frustrating. I have a very simple XML file that renders correctly in the browser itself. But, if I specify this same XML file as the url to which my Flash app POSTs, the Flash app returns a page header that includes "Content-Type text/html", and then understandably fails to properly process the page, returning a "HTTP 405 - Resource not allowed" error.
I've really messed around with this for an embarrassingly long time already. It's very bizarre. The MIME type of xml is configured in IIS (as evidenced by the fact that the browser correctly renders the XML file by itself). I can't imagine what the problem is.
Any help would be greatly appreciated.