Connecting Tech Pros Worldwide Help | Site Map

Mozilla XML multipart form problem

  #1  
Old July 23rd, 2005, 12:23 PM
Mark
Guest
 
Posts: n/a
If I use Mozilla to post multipart form data that includes an XML
schema file with an extension of .xsd the Content-Type is
"application/octet-stream".

If I use an extension of .xml I get the Content-Type "text/xml" [which
is what I'm after].

Is this a known problem and is there another workaround besides using
the extension .xml?

Note that IE gets this correct and always uses the Content-Type
"text/xml".

Many thanks in advance for any answers!
  #2  
Old July 23rd, 2005, 12:23 PM
Martin Honnen
Guest
 
Posts: n/a

re: Mozilla XML multipart form problem




Mark wrote:
[color=blue]
> If I use Mozilla to post multipart form data that includes an XML
> schema file with an extension of .xsd the Content-Type is
> "application/octet-stream".
>
> If I use an extension of .xml I get the Content-Type "text/xml" [which
> is what I'm after].
>
> Is this a known problem and is there another workaround besides using
> the extension .xml?
>
> Note that IE gets this correct and always uses the Content-Type
> "text/xml".[/color]

That has nothing to do with JavaScript so I am not sure why you ask here.
As for the problem I guess that Mozilla doesn't know which MIME type to
associate with the suffix .xsd and therefore chooses
application/octet-stream.


--

Martin Honnen
http://JavaScript.FAQTs.com/

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Uploading Multipart Data to ImageVenue Using C# .NET WeCi2i answers 1 August 10th, 2007 04:19 AM
Trying to submit multipart/form-data HTTP POST using PHP script Boldgeek answers 6 January 16th, 2007 10:15 PM
multipart/form-data Post LD answers 1 November 17th, 2005 09:23 PM
Mozilla XMLHttpRequest Benedikt Wismans answers 1 July 23rd, 2005 05:03 PM