[Imap-protocol] Re: Question on FETCH example in RFC3501

Liam Clarke ml.cyresse at gmail.com
Wed Jan 9 20:05:20 PST 2008


Oh dear,

Thanjks Abhijit. I need to read more carefully.

On Jan 10, 2008 5:02 PM, Abhijit Menon-Sen <ams at oryx.com> wrote:

> Hi Liam.

>

> At 2008-01-10 16:38:00 +1300, ml.cyresse at gmail.com wrote:

> >

> > C: a004 fetch 12 body[header]

> > S: * 12 FETCH (BODY[HEADER] {342}

> > S: Date: Wed, 17 Jul 1996 02:23:25 -0700 (PDT)

> > S: From: Terry Gray <gray at cac.washington.edu>

> > S: Subject: IMAP4rev1 WG mtg summary and minutes

> > S: To: imap at cac.washington.edu

> > S: cc: minutes at CNRI.Reston.VA.US, John Klensin <KLENSIN at MIT.EDU>

> > S: Message-Id: <B27397-0100000 at cac.washington.edu>

> > S: MIME-Version: 1.0

> > S: Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

> > S:

> > S: )

> > S: a004 OK FETCH completed

>

> > [...] but is the second actually split over multiple \r\n delimited

> > lines?

>

> Not exactly. It contains a literal that contains multiple CRLFs.

>

> > If so, would it be possible for lines from separate fetch responses to

> > arrive together?

>

> No. This response:

>

> > S: * 12 FETCH (BODY[HEADER] {342}

>

> promises to send you 342 bytes of literal data immediately following the

> CRLF (see RFC 3501 §4.3 for an explanation of literals).

>

> -- ams

>



More information about the Imap-protocol mailing list