On Mon, 2003-11-24 at 20:25, Mark Crispin wrote:
> On Mon, 24 Nov 2003, Timo Sirainen wrote:
> > > After the fetch of BODY[STRUCTURE], the client can fetch the HEADERs it
> > > wants in the MIME sub-messages, don't you think so ?
> > Well, something like that. All that should be needed is IDs for each
> > MIME part and each part having their parent's ID so client could link
> > them.
> 
> By the time you do all that, you have BODYSTRUCTURE.
> 
> RTTs are not your friend.

Actually I thought about doing all that at once. Something like:

1 FETCH 1:* (STRUCTURE BODY[*.HEADER.FIELDS (Content-Type From To Subject)])
* 1 FETCH (STRUCTURE (1 2 (3)) BODY[1.HEADER.FIELDS (..)] {100}
..
BODY[2.HEADER.FIELDS (..)] {100}
..
..

STRUCTURE reply would return THREAD-like structuring for the MIME parts.

Anyway, the long repeated BODY[...] texts in replies probably eat away
all potential bandwidth savings, but it would allow interested clients
to fetch some extra MIME fields without extra round trips.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to