RE: [codec] Base64 and RFC 2045 lines

2004-03-18 Thread Gary Gregory
, we are not producing proper CFLF in our output. Check? Thanks, Gary -Original Message- From: Noel J. Bergman [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 23:15 To: Jakarta Commons Developers List Subject: RE: [codec] Base64 and RFC 2045 lines RFC 2045 always uses

RE: [codec] Base64 and RFC 2045 lines

2004-03-18 Thread Noel J. Bergman
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

RE: [codec] Base64 and RFC 2045 lines

2004-03-17 Thread Noel J. Bergman
RFC 2045 always uses CRLF as a line-delimiter. Our base64 encoding always uses LF, no CR, to created chunked output. Is this on purpose or a bug in our implementation? See RFC 2045 sections 2.7 and 2.8. --- Noel -