XML document rendered as Content-Type text/html when POSTed to by Flash app
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 1
- Joined: Wed Dec 28, 2011 1:37 am
XML document rendered as Content-Type text/html when POSTed to by Flash app
Post by redherring917 »
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.
Thanks.
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.
Thanks.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: XML document rendered as Content-Type text/html when POSTed to by Flash app
Post by sorin_ristache »
Hello,
I understand that you have a Flash application that posts to a server where an XML file is located but the server returns a HTTP 405 error. How can the Oxygen application help you with that?
Regards,
Sorin
I understand that you have a Flash application that posts to a server where an XML file is located but the server returns a HTTP 405 error. How can the Oxygen application help you with that?
Regards,
Sorin
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: XML document rendered as Content-Type text/html when POSTed to by Flash app
Hi,
Please note that while the browser can handle XML and stylize it with a CSS file, XML is not handled the same way as HTML by the browser. obviously the content type is essential.
I'm guessing the content type is controlled by some other means when POSTing from the flash app. Can you specify any parameters other than the url?
Regards,
Adrian
Please note that while the browser can handle XML and stylize it with a CSS file, XML is not handled the same way as HTML by the browser. obviously the content type is essential.
I'm guessing the content type is controlled by some other means when POSTing from the flash app. Can you specify any parameters other than the url?
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service