Article View: news.software.nntp
Article #57566Re: [yEnc] A small MIME fix
From: Jeremy
Date: Sat, 23 Mar 2002 19:34
Date: Sat, 23 Mar 2002 19:34
28 lines
1937 bytes
1937 bytes
> Nuutti Kotivuori <naked@iki.fi> wrote: > >> Hmm - I wonder if this is proper behaviour or not. The last line must >> be terminated with a CRLF in a 8bit message, but I do not know if that >> means that it should not be interpreted as a part of the message body. >> The MIME RFC's do not mention much about this. The final CRLF in a MIME entity is *not* part of the entity's datastream. This is explicitely stated in RFC 2046, section 5.1.1, and allows an entity to contain data which does not end with CRLF. Juergen Helbing <archiver@i3w.com> wrote: > The Data part of a MIME encoded message is starting with an empty > line and ends with an empty line. No, it doesn't. There are header fields, followed by a blank line which is *not* part of the data, followed by the body. If you're adding an empty line to the end of your data, or expecting one, or treating the initial blank line as part of the data, that is wrong, and won't work. Unfortunately, this was the Agent bug -- it didn't understand entities which did not end in CRLF, and corrupted them. Other implementations, such as Outlook Express, had no problem. -- Jeremy | jeremy@exit109.com
Technical Details
Message-ID:
<1016912087.989679@ok-corral.gunslinger.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!saloon!newsbastardReferences:
<87k7s9d7tr.fsf@iki.fi> <0951b.l32200@archiver.winews.net> <87it7pafvx.fsf@iki.fi> <03519.m32202@archiver.winews.net>Show Full Headers
Complete Article Headers
Message-ID: <1016912087.989679@ok-corral.gunslinger.net> Subject: Re: [yEnc] A small MIME fix Date: Sat, 23 Mar 2002 19:34:48 +0000 From: Jeremy <jeremy@exit109.com> References: <87k7s9d7tr.fsf@iki.fi> <0951b.l32200@archiver.winews.net> <87it7pafvx.fsf@iki.fi> <03519.m32202@archiver.winews.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!saloon!newsbastard Newsgroups: news.software.nntp Organization: There Is No Organization Lines: 27 X-Newsreader: trn 4.0-test76 (Apr 2, 2001) X-Meow: Meow