Andrea,
This looks like the multipart/related mimetype rather than
multipart/mixed that is used in mail messages where related content like
images is encoded as a separate 'parts' in the body.
The images in the source document generally get encoded to a
'cid:identifier' uri which relates to the content in the mime body, eg:
Content-Type: image/gif; name="lh1_3G.gif"
Content-Transfer-Encoding: base64
Content-ID: <some-random-uri>
[..]
<img src=cid:some-random-uri>
Alas I wouldn't know how to get Firefox to load this sort of content -
Thunderbird loads it fine though ;-) I would imagine you'd have to set
the content type being returned from the server as multipart/related at
the very least.
N
Andrea wrote:
Exactly: the image and the HTML are all part of the same multipart
response.
Nohting apart from the image path and the multipart content-type tells
to the browser to associate together the image and its multipart
content.
The http content-type is "multipart/mixed;
boundary="----=_Part_98405_17650640.1122397130526""
Andrea
_______________________________________________
Mozilla-netlib mailing list
Mozilla-netlib@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-netlib