commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel J. Bergman" <n...@devtech.com>
Subject RE: [codec] Base64 and RFC 2045 lines
Date Thu, 18 Mar 2004 16:37:22 GMT
As a general rule, CRLF is an indivisible token.  In other RFCs, the IETF
goes so far as to call it an RFC violation for them to ever be recognized or
emitted separately.  HOWEVER, to be picky, the "News Article Format" draft
RFC has said, through all drafts over several years, that:

  "The syntax above defines the canonical form of a news article as
  a sequence of lines each terminated by CRLF. This does not prevent
  serving agents or transport agents from storing or handling the
  article in other formats (e.g. using a single LF in place of CRLF)
  so long as the overall effects achieved are as defined by this
  standard when operating on the canonical form."

So one could argue that as long as the client code knows that it needs to do
the conversion before exposing the data to anything expecting RFC
compliance, that's OK.  But I don't believe that to be the case in this
instance, so yes I'd call it a bug.

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message