mailing list archives

meli community discussions

⚠️ if something does not work as intended when interracting with the mailing lists,
reach out Github mirror Gitea repo @epilys:matrix.org

E-mail headers
From: Mark Crispin <MRC@Washington.EDU>
To: imap-protocol@u.washington.edu
Date: Fri, 08 Jun 2018 12:34:41 -0000
Message-ID: alpine.WNT.1.10.0803280956540.764@Shimo-Tomobiki.Panda.COM permalink / raw / eml / mbox
In-Reply-To: 348317927.557021206721114013.JavaMail.root@dogfood.zimbra.com
References: 348317927.557021206721114013.JavaMail.root@dogfood.zimbra.com
On Fri, 28 Mar 2008, Dan Karp wrote:
> Is there a generally-accepted server response when a client requests FETCH
> BODY[n.HEADER] on a non-message subpart?

Yes.

The result for any BODY[...] that does not actually exist is a zero-length 
string.  Normally, this is a client error (since the client can determine 
what parts exist from BODYSTRUCTURE).  However, at times it is convenient 
for the client to do a mindless access, typically for BODY[1], so the 
result is a zero-length string rather than a BAD.

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.
Reply