Thread View: news.software.nntp
7 messages
7 total messages
Started by The Archiver
Fri, 16 Nov 2001 10:23
yEnc and MIME ?
Author: The Archiver
Date: Fri, 16 Nov 2001 10:23
Date: Fri, 16 Nov 2001 10:23
19 lines
1308 bytes
1308 bytes
As my attempts at comp.mail.mime have not been very successful I want to ask if anybody here feels competent enough to help me in embedding YENC into MIME: The general plan would be to embed a YENC-block (from =ybegin until =yend) into a MIME message to maintain the structure, allowing exisiting decoders to extract YENC from a text-stream, but also permit future MIME decoders to handle YENC properly. If such a discussion would be acceptable (and constructive) here then I'm ready to try to satisfy all those who insist on the fact that all future formats should follow the MIME rules. Thanks for feedback. -- Juergen, [The Archiver]
Re: yEnc and MIME ?
Author: Howard Swinehart
Date: Sat, 17 Nov 2001 08:43
Date: Sat, 17 Nov 2001 08:43
39 lines
2733 bytes
2733 bytes
"The Archiver" <archiver@i3w.com> wrote in message news:3423b.gb1204@archiver.winews.net... > As my attempts at comp.mail.mime have not been very successful > I want to ask if anybody here feels competent enough to help me in > embedding YENC into MIME: > > The general plan would be to embed a YENC-block (from =ybegin > until =yend) into a MIME message to maintain the structure, > allowing exisiting decoders to extract YENC from a text-stream, but > also permit future MIME decoders to handle YENC properly. message/partial doesn't allow 8-bit so this could be a problem. RFC 2046 section 5.2.2: In particular, even in environments that support binary or 8bit transport, the use of a content- transfer-encoding of "8bit" or "binary" is explicitly prohibited for MIME entities of type "message/partial". This in turn implies that the inner message must not use "8bit" or "binary" encoding. Also a question... The bodies of message/partials are joined to form the original message, which is then processed. In your multipart MIME example at http://www.yenc.org/yMime.txt the result from the 3 message/partials will be an article containing three =ybegin/=yend sections. Is this the intent? In other words, should decoders expect to find several yEnc parts in a single article? -- Binary Boy finds free music, movies and pictures. http://www.binaryboy.com/
Re: yEnc and MIME ?
Author: The Archiver
Date: Sat, 17 Nov 2001 09:39
Date: Sat, 17 Nov 2001 09:39
39 lines
2290 bytes
2290 bytes
"Howard Swinehart" <howard@supernet.com> wrote: >message/partial doesn't allow 8-bit so this could be a problem. > > content- transfer-encoding of "8bit" or "binary" is explicitly > prohibited for MIME entities of type "message/partial". This would explain why nobody ever tried a more efficient encoding. And way around this ? Else a MIME encapsulation for yEnc is completely impossible. (It would be a mean trick to say that yEnc is not '8bit" or "binary" but "yEnc" ;-) I assume that the MIME creators wanted to have only ASCII32-127 in multipart messages. >Also a question... The bodies of message/partials are joined to form >the original message, which is then processed. In your multipart MIME >example at http://www.yenc.org/yMime.txt the result from the 3 >message/partials will be an article containing three =ybegin/=yend >sections. Is this the intent? In other words, should decoders expect >to find several yEnc parts in a single article? Yes, this is _exactly_ what decoders should expect. The reason is simple: Today a MIME decoders which operates on multipart relies completely on the fact that all data is perfect. It is not possible to find out _which_ part of a partial message is corrupt. On Usenet we have the problem that single messages are corrupt today. (This happens all the time). So a method to reload only the defective section is one of the purposes of yEnc. This could reduce the volume of reposts. Thanks for taking the time answer. -- The Archiver
Re: yEnc and MIME ?
Author: Howard Swinehart
Date: Sat, 17 Nov 2001 15:44
Date: Sat, 17 Nov 2001 15:44
37 lines
2612 bytes
2612 bytes
"The Archiver" <archiver@i3w.com> wrote in message news:3939a.hb1200@archiver.winews.net... > "Howard Swinehart" <howard@supernet.com> wrote: > > >message/partial doesn't allow 8-bit so this could be a problem. > > > > content- transfer-encoding of "8bit" or "binary" is explicitly > > prohibited for MIME entities of type "message/partial". > > This would explain why nobody ever tried a more efficient encoding. > And way around this ? Explicit statements like that aren't easy to change once they are in the standard. By the way, even uuencode isn't a MIME transfer encoding according to the list at http://iana.netnod.se/assignments/transfer-encodings People still use x-uuencode and uuencode in the headers though. Your only option might be to break the rules like QP Lite. > Else a MIME encapsulation for yEnc is completely impossible. > (It would be a mean trick to say that yEnc is not '8bit" or "binary" > but "yEnc" ;-) > I assume that the MIME creators wanted to have only ASCII32-127 > in multipart messages. Yes, it says earlier in that section that 7bit is to be used. They were ready for your trick. :-) -- Binary Boy finds free music, movies and pictures http://www.binaryboy.com/
Re: yEnc and MIME ?
Author: Luu Tran
Date: Sat, 17 Nov 2001 16:00
Date: Sat, 17 Nov 2001 16:00
14 lines
1216 bytes
1216 bytes
"Howard Swinehart" <howard@supernet.com> wrote in news:4rpJ7.47754$S4.4387688@newsread1.prod.itd.earthlink.net... > message/partial doesn't allow 8-bit so this could be a problem. > At any rate, I'm not sure what exactly would be gained by MIMEing yEnc? MIME is used more with email than nntp. Where it's used on nntp, more often than not it's for specifying charset encoding and the like, not for binaries attachment. -- luu
Re: yEnc and MIME ?
Author: The Archiver
Date: Sat, 17 Nov 2001 17:01
Date: Sat, 17 Nov 2001 17:01
22 lines
1561 bytes
1561 bytes
Luu Tran <luutran@nomail.invalid> wrote: >At any rate, I'm not sure what exactly would be gained by MIMEing yEnc? >MIME is used more with email than nntp. Where it's used on nntp, more >often than not it's for specifying charset encoding and the like, not for >binaries attachment. I've got a lot of criticism for not using MIME. (.... wont support this until MIME is used .....) (.... new formats must use MIME ......) (.... messages often end up in eMail so MIME must be used .....) As MIME is also an important part of the new USEFOR format for newsgroup messages I thought it would be a nice idea. MIME is having a strong lobby - however that standard seems to conflict heavily with yEnc :-( -- Juergen, [The Archiver]
Re: yEnc and MIME ?
Author: Andrew Gierth
Date: Sat, 17 Nov 2001 18:40
Date: Sat, 17 Nov 2001 18:40
39 lines
2984 bytes
2984 bytes
>>>>> "The" == The Archiver <archiver@i3w.com> writes: The> As my attempts at comp.mail.mime have not been very successful I The> want to ask if anybody here feels competent enough to help me in The> embedding YENC into MIME: The> The general plan would be to embed a YENC-block (from =ybegin The> until =yend) into a MIME message to maintain the structure, The> allowing exisiting decoders to extract YENC from a text-stream, but The> also permit future MIME decoders to handle YENC properly. You need to decide, above all, whether you are proposing to use YENC as a content type or a transfer encoding. The difference is as follows: If you define a content type for yenc-encoded data, then you can construct a MIME entity that says, "the content of this entity is yenc-encoded data". A MIME application can then know that it's supposed to pass the data to a yenc decoder (handling of content-types should be configurable in most MIME applications, so new ones can be added easily), but it _doesn't_ know what to do with it afterwards. If you define yenc as a transfer-encoding, then you can construct a MIME entity that says "the content of this entity is (say) a JPEG image, filename foo.jpg, which has been encoded using yenc". This way, a MIME application doesn't understand the data at all unless it has been extended to support yenc, but if it _has_ been extended, it not only knows how to decode the data but also what to do with it afterwards. This also allows gateways to recode the entity to base64 or some other transfer encoding if necessary. Now, from my reading of the MIME registration procedures, you in fact cannot register yenc as a content-type, because it isn't really a type of content but in fact behaves as a transfer encoding, and as such you could only use it under an unregistered name (e.g. application/x-yenc-encoded). However I may be wrong on this. -- Andrew.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads