[Imap-protocol] body size in BODYSTRUCTURE: include headers?

Bill Janssen janssen at parc.com
Sun Mar 11 22:02:39 PDT 2007


It's not clear (to me) from RFC 3501 whether the following "body size"
value in BODYSTRUCTURE include's the part's headers, or not.  I'm assuming
it does.

         body size

            A number giving the size of the body in octets.  Note that
            this size is the size in its transfer encoding and not the
            resulting size after any decoding.

Similarly, I assume that this other size, in lines, includes the
part's headers.

         A body type of type TEXT contains, immediately after the basic
         fields, the size of the body in text lines.  Note that this
         size is the size in its content transfer encoding and not the
         resulting size after any decoding.

Bill


More information about the Imap-protocol mailing list