[NNTP] Multi-line blocks

Clive D.W. Feather clive at demon.net
Mon Apr 25 01:59:52 PDT 2005


Peter Robinson said:
> > -   4.  The lines of the response MUST be followed by a terminating line
> > +   4.  The lines of the block MUST be followed by a terminating line
> >         consisting of a single termination octet followed by a CRLF pair
> > -       in the normal way.  Thus a multi-line response is always
> > -       terminated with the five octets CRLF "." CRLF (%x0D.0A.2E.0D.0A).
> > +       in the normal way.  Thus a multi-line block is always terminated
> > +       with the five octets CRLF "." CRLF (%x0D.0A.2E.0D.0A).
> 
> The last sentence is not strictly true since an 'empty' multi-line block
> consists only of the last three of those octets.

Good catch. I've changed it to say "Thus, unless it is empty, a ...".

I've also changed "one or more" to "zero or more" in item 1 of that list.

> >     6.  Likewise, the terminating line ("." CRLF or %x2E.0D.0A) MUST NOT
> > -       be considered part of the multi-line response; i.e. the client
> > +       be considered part of the multi-line block; i.e. the recipient
> >         MUST ensure that any line beginning with the termination octet
> >         followed immediately by a CRLF pair is disregarded; (the first
> >         CRLF pair of the terminating CRLF "." CRLF is, of course, part of
> > -       the last line of the response).
> > +       the last line of the block).
> 
> And again, that's not strictly true for an empty block.

Changed to "... CRLF of a non-empty block is, of course, ...".

Thanks.

-- 
Clive D.W. Feather  | Work:  <clive at demon.net>   | Tel:    +44 20 8495 6138
Internet Expert     | Home:  <clive at davros.org>  | Fax:    +44 870 051 9937
Demon Internet      | WWW: http://www.davros.org | Mobile: +44 7973 377646
Thus plc            |                            |



More information about the ietf-nntp mailing list