[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Lines count in USEFOR




Hi,

According to USEFOR:


3.3.1.  Lines

  The Lines header field indicates the number of lines in the <body>
  (as defined in [RFC5322]) of the article.

  lines           =  "Lines:" SP *WSP 1*DIGIT *WSP CRLF

  The line count is the number of CRLF separators in the <body>.

  Historically, this header field was used by the NNTP [RFC3977]
  overview facility, but its use for this purpose is now deprecated.
  As a result, this header field is to be regarded as obsolescent, and
  it is likely to be removed entirely in a future version of this
  standard.  All agents SHOULD ignore it and SHOULD NOT generate it.



If I read RFC 5322:

   body   =   (*(*998text CRLF) *998text) / obs-body

Isn't the final *998text counting for a line?
I believe the line count is the number of CRLF separators in the <body>
PLUS ONE.
(Unless I'm mistaken by the definition of the body?)


The second part of the paragraph seems unclear.  I am under the
impression that RFC 3977 says we can use Lines: in the overview
but USEFOR -- posterior to RFC 3977 -- deprecates that use.
This header field is not used by OVER in RFC 3977.

Maybe the reference to RFC 3977 should just be removed in the
paragraph.  Thus leaving NNTP in general.

--
Julien ÉLIE

« A good wife always forgives her husband when she's wrong. » (Rodney Dangerfield)