Mark Crispin wrote:
> On Tue, 9 Jul 2002, David Harris wrote:
> > assume we
> > have a message with 384 bytes, and the client issues this command:
> > A30 FETCH 42 (BODY[TEXT]<385.16384>)<cr><lf>
> > Am I correct in assuming that the correct return for this command is:
> > * 42 FETCH (BODY[TEXT]<385> {0})<cr><lf>
>
> Close, but not quite.
>
> The correct response is either:
> * 42 FETCH (BODY[TEXT]<385> {0}<cr><lf>)<cr><lf>
> or
> * 42 FETCH (BODY[TEXT]<385> "")<cr><lf>
>
> > * Is the zero-length literal declaration mandatory? (I'm sure it is, but
> > I'd like this confirmed by greater minds).
>
> I'm not sure that I understand your question. Either a zero-length
> literal or a zero-length quoted-string will suffice.
If I understood the question correctly: "why would the server bother returning
this"?
Can the server don't send FETCH reply in this case.
Regards,
Alexey Melnikov
__________________________________________
R & D, ACI Worldwide/MessagingDirect
Richmond, Surrey, UK
Phone: +44 20 8332 4508
Home Page: http://orthanc.ab.ca/mel
I speak for myself only, not for my employer.
__________________________________________