-
I'm sending XML to a servlet and get the error: "Unsupported content type "application/x-www-form-urlencoded", must be: "text/xml"
is there a way for me to change the content headers when posting XML using flash or do I need to look for the solution on the servlet side? I would much prefer to fix it in Flash if possible - this is to integrate with some existing code which would require someonelse to change it.
Thanks
-
myXML=new XML();
myXML.contentType="text/xml";
works only when playing your movie in the browser (ie. swfplugin r042), not in flash .
-
Works, thanks
Thanks a lot. Worked perfectly. Don't you love undocumented features? How did you learn about this method? Are there any more. Does it work with all 5.0 versions of the plugin?
Thanks, saved me a lot of time.
Jason