Connecting Tech Pros Worldwide Help | Site Map

Mozilla XML multipart form problem

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 23rd, 2005, 11:23 AM
Mark
Guest
 
Posts: n/a
Default Mozilla XML multipart form problem

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, 11:23 AM
Martin Honnen
Guest
 
Posts: n/a
Default 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/

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.