how does Internet Explorer recognize MHTML responses?

  • Thread starter Thread starter peter.djalaliev
  • Start date Start date
P

peter.djalaliev

Hello,

I have a problem with getting Internet Explorer to automatically
recognize
responses with MHTML content and handle the content as MHTML.

For example, here is a link to the web page of a Biology professor at
Salisbury:
http://faculty.salisbury.edu/~jemaloof/manuscripts/New Scientist.mht

Internet Explorer handles the response just fine.

However, I downloaded the .MHT file and put it up on my web page:
http://www.cs.pitt.edu/~peterdj/NewScientist.mht

Now, Internet Explorer does not understand that this is a MHTML file
and
does not parse is correspondignly.

However, if I append mhtml: to my request, IE handles the response
correctly:
mhtml:http://www.cs.pitt.edu/~peterdj/NewScientist.mht

Can anybody give me a clue as to why I would need the "mhtml:" URI
prefix?
How can I make IE handle the MHTML file correctly without this prefix?

I tried analyzing the HTTP responses that our server and the Salisbury
server return and I saw only one thing that I think would matter: the
Salisbury server returns the response with Content-Type: text/plain,
while
our server uses Content-Type: text/html. However, that doesn't seem
to be
the reason - I tried returning text/plain responses on a hand-crafted
MHTML
file and a server on my local machine, but it didn't work.

I am using Internet Explorer 7.

Thanks in advance!

Regards,
Peter Djalaliev
 
Asked/Answered in IE General newsgroup, the default for IE7 questions. If
you must make identical posts to multiple newsgroups, please cross-post one
(1) message to all of them. Thank you.

Sorry, I didn't know about cross-posting, it definitely seems the
better thing to do. Also, I wasn't sure which newsgroup is the best
for this question, so I posted on three of them. I didn't think my
question is specific to MSIE version 7, either.

You said that my question was asked and answered in the IE General
newgroup. Is this the microsoft.public.internetexplorer.general
group?

I went through what I could find in this group and still couldn't find
my answer. The only thing I saw was that if Internet Explorer
receives an HTTP response with Content-Type: message/rfc822, it will
treat the response a MHTML content. However, I couldn't get that to
work, I would still need the mhtml: URI prefix even when returning
this Content-Type.

Am I looking at the right place?

Regards,
Peter Djalaliev
 
Back
Top