Article View: news.software.nntp
Article #55100Re: Announce: yEncoding - site with info has been created.
From: Andrew
Date: Fri, 09 Nov 2001 14:13
Date: Fri, 09 Nov 2001 14:13
79 lines
4668 bytes
4668 bytes
In article <3406b.9b1204@archiver.winews.net>, The Archiver wrote: [qp-lite] > If there would have a been any kind of specification > (even a quickly written draft) then I would have tried to use it instead. Here is a specification for QP-lite: ---- Except as specifically detailed below, the encoding method is exactly the same as MIME quoted-printable as detailed in RFC2045 or its successor. Note that the Content-Transfer-Encoding is still given as the value 'quoted-printable' even though we are violating the MIME spec. Quoted-printable is a mapping from the 'binary' domain to the '7bit' domain. QP-lite is instead a mapping from 'binary' to '8bit'. All octet values are encoded as themselves with the exception of the following four values: 0x00 (NUL), 0x0A (LF), 0x0D (CR), 0x3D (=). For those values, the normal QP encodings are used: =00, =0A, =0D, =3D. Optionally, other values may be encoded in cases where problems might otherwise result (e.g. robustness may be improved by encoding the '.' character if it appears at the start of a line). Lines can be up to 998 octets long after encoding, but a limit of 510 is suggested for encoders. Shorter values can be used if necessary. Each line is terminated by the normal QP 'soft' linebreak: an = character as the last character of the line. For decoders, the only change from the MIME specs is in the handling of input data that is not legal in QP but is generated by QP-lite. Specifically, all input octets other than NUL,CR,LF,"=" must be preserved, contrary to the suggestions of the MIME spec, and long lines must be decoded in full (in accordance with the existing suggestions, though a warning would not be appropriate). ---- That's it. See RFC2045 for the rest. Other features like specification of filename, integrity protection, etc., are all handled via MIME mechanisms (Content-Disposition, Content-Length, Content-MD5, etc.). Multipart posting is handled by message/partial (with another small standards violation: the restriction of message/partial to 7bit is ignored). >>Your example of using yenc and MIME together shows that you've completely >>missed the point of how MIME works. > > I dont think so. Your example confuses the use of content-types and transfer encodings in such a way as to produce something that can't usefully be used _either_ way. > But until now I've only got advices as: Do this - try that - you could > also do this.... but nobody seems to be able to compose a > message-format-example which really works with existing tools > (during transition) and future tools. > > Sorry - I am very disappointed about MIME. The reason it's tricky to do this with MIME is that it really does involve creating a new transfer-encoding (or perverting an existing one), and the nature of transfer encodings makes it hard to add them without large-scale software changes. (QP-lite, by labelling the encoding as 'quoted-printable' even though it doesn't strictly conform to the original spec, is an attempt to take advantage of those existing implementations that happen to work.) The impression I get is that the MIME authors did not consider the encoding overhead of base64 to be a problem, and assumed that support for the 'binary' encoding would be forthcoming for environments where the overhead _is_ a problem. That support isn't likely to happen on Usenet in the forseeable future (for mail, it can be deployed on a "cooperating site" basis, but that doesn't work for news), so a 'binary'->'8bit' encoding is necessary to supplement the existing 'binary'->'7bit' one (QP). -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Technical Details
Message-ID:
<slrn9unp3c.2v08.andrew+nonews@trinity.supernews.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!sn-post-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<3be943fa.12864292@news.alt.net> <slrn9uko80.30gm.andrew+nonews@trinity.supernews.net> <3406b.9b1204@archiver.winews.net>Show Full Headers
Complete Article Headers
Message-ID: <slrn9unp3c.2v08.andrew+nonews@trinity.supernews.net> Subject: Re: Announce: yEncoding - site with info has been created. Date: Fri, 09 Nov 2001 14:13:07 -0000 From: andrew+nonews@supernews.com (Andrew) References: <3be943fa.12864292@news.alt.net> <slrn9uko80.30gm.andrew+nonews@trinity.supernews.net> <3406b.9b1204@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!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Newsgroups: news.software.nntp Organization: Posted via Supernews, http://www.supernews.com Reply-To: andrew@supernews.com User-Agent: slrn/0.9.7.1 (FreeBSD) X-Complaints-To: newsabuse@supernews.com Lines: 78