Re: MIME vs. DIME vs. ...

Patrik Fältström <[email protected]> Mon, 15 Apr 2002 06:50:42 +0200
Newsgroups gmane.comp.windows.devel.dime
Message-ID <49958836.1018853442@localhost>
--On 2002-04-14 17.02 -0700 Henrik Frystyk Nielsen <[email protected]>
wrote:

> It is not just parsing but figuring out what amount of memory to
> allocate, estimate transmission timeouts etc. Having a readily available
> length indicator up front is really nice to have for lots of reasons.

This is optimization on the receiving side, and not the sending side. MIME
was originally for optimization for the sending side where the sender
doesn't have to know the size of the data before starting transmission.
I.e. MIME is a one-pass data structure originally.

With the addition of content-length information and binary
content-transfer-encoding, you have a two-pass with length indicator you
want.

    paf