MBOX-Line: From janssen at parc.com  Sun Mar 11 22:02:39 2007
To: imap-protocol@u.washington.edu
From: Bill Janssen <janssen@parc.com>
Date: Fri Jun  8 12:34:38 2018
Subject: [Imap-protocol] body size in BODYSTRUCTURE: include headers?
Message-ID: <07Mar11.210244pst."57996"@synergy1.parc.xerox.com>

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

