A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2013-September/128270.html below:

[Python-Dev] Completing the email6 API changes.

[Python-Dev] Completing the email6 API changes. [Python-Dev] Completing the email6 API changes.Stephen J. Turnbull stephen at xemacs.org
Mon Sep 2 09:06:53 CEST 2013
>>>>> Glenn writes:
> >>>>> Steve writes:

>> OTOH, if the message is structured
>>
>>      multipart/related
>>          multipart/alternative
>>              text/plain
>>              text/html
>>          image/png
>>          image/png
>>
>> the receiver can infer that the images are related to both text/*
>> parts and DTRT for each.

>With the images being treated as attachments. Or is there a syntax to 
>allow the text/html to embed the images and the text/plain to see them 
>as attachments?

I believe the above is that syntax.  But the standard doesn't say
anything about this.  The standard for multipart/alternative is RFC
2046, which doesn't know about multipart/related.  RFC 2387 doesn't
update RFC 2046, so it doesn't say anything about
multipart/alternative within multipart/related, either.

>I think the text/html wants to refer to things within its containing
>multipart/related, but am not sure if that allows the intervening
>multipart/alternative.

I don't see why not.  But it would depend on the implementations,
which we'll have to test before recommending the structure I
(theoretically :-) prefer.e
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4