Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Getting a multipart/mixed response with XMLHTTP

From: jsm16@-------.---
To: NULL
Date: 10/3/2006 9:28:00 PM

> What if you use, say, text/plain (assuming the content is compatible
> with the type and the UTF-8 character encoding) or application/octet-
> stream? From what you say above, it seems you get this problem no
> matter what the content type, which suggests the problem might be
> with how you generate the response on the server. Have you tried to
> monitor the network traffic to rule out the possibility of, say, that
> the server just sends content forever? Do you not get any alert(), or
> just not the desired one?


I get a couple of alerts then 100% CPU. The server is not sending
content forever. I tried with a simple 5 line JSP page, same problem.

text/plain seems to work fine. I also tried:

text/plain; boundary=asdasdas

This exhibits the same problem. It seems to me that if IE has any idea
that it is a multipart response (because of a 'boundary' in the
Content-Type or because of a 'mulitpart') that it has issues. If it
doesn't think it is multipart it has no issues. I would guess this has
something to do with the way IE tries to look at responses to determine
what type they are, both the headers and the content.

I can work around by just sending the content as text/plain or
something like that. I don't send any preamble with the multipart
response so the first --xxxxx should be the boundary, so I can live
without the boundary in the header itself.



transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent