Article View: news.software.readers
Article #260579Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
From: Adam H. Kerman
Date: Thu, 07 Jul 2016 20:42
Date: Thu, 07 Jul 2016 20:42
40 lines
3063 bytes
3063 bytes
michael.baeuerle@gmx.net wrote: >Adam H. Kerman wrote: >>Michael Baeuerle wrote: >>>Whiskers wrote: >>>>[MIME header fields] >>>>In their absence, I think most software will assume that 7-bit ASCII is >>>>meant. >>>According to MIME it is mandatory to treat messages like this (for a >>>conforming application). >>>The "MIME-Version" header field is required for all MIME messages. Even >>>if the body is US-ASCII, the header may contain encoded-words according >>>to RFC2047 (like in this article). >>I'm not following what you're doing, then. Your headers declare a MIME >>version but lack Content-Type. I thought both headers were mandatory. >No, only "MIME-Version" is mandatory for MIME conformance (according >to RFC2049 [1] Requirement 1). . . . Oh, thanks. >In the case of my article, the field "MIME-Version" is required not >only for general MIME compliance, but also to switch the semantics of >header fields, so that the encoded-words according to RFC2047 [4] are >valid. Your newsreader seems to be not MIME conformant and the intended >behaviour in [4] is to present 'encoded-word' as 'atom' tokens to the >parser of such software (so that the message format conforms at least >syntactically to RFC822 or RFC850 respectively). . . . Nah. Your article was passed along to MIME tools, but I overrode and didn't decode, a deliberate choice on my part so I wouldn't have to send a non-ASCII character and add a MIME header. I could have just left your email address in attribution as I did in this followup. trn 4 just expects the user to write modification to the script to any required headers. If I must add MIME headers, it's manual as I didn't bother with the script modifications.
Technical Details
Message-ID:
<nlmes8$oo3$2@news.albasani.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mailReferences:
<nli1e8$hi6$1@news.mixmin.net> <AABXfoKROfUAABz1.A1.flnews@WStation5.stz-e.de> <nlm1f0$tbd$3@news.albasani.net> <AABXfqRQKo8AAEas.A1.flnews@WStation4.micha.freeshell.org>Show Full Headers
Complete Article Headers
Message-ID: <nlmes8$oo3$2@news.albasani.net> Subject: Re: Do we really need mime-version, content-type, and content-transfer-encoding headers? Date: Thu, 07 Jul 2016 20:42:48 +0000 From: "Adam H. Kerman" <ahk@chinet.com> References: <nli1e8$hi6$1@news.mixmin.net> <AABXfoKROfUAABz1.A1.flnews@WStation5.stz-e.de> <nlm1f0$tbd$3@news.albasani.net> <AABXfqRQKo8AAEas.A1.flnews@WStation4.micha.freeshell.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail Newsgroups: news.software.readers Organization: albasani.net Lines: 40 X-Trace: news.albasani.net YePhVui2ZFXTb4JMqni5lBAa61+yJuBjenJcgRcD+eaLFxKG7KQFXlXmb12bsjfqq87xroebKf8SpQIb44xb9//BfePu2N2c41prsktfvfGJ+thojx6ZTOiG1jwrOMiX NNTP-Posting-Date: Thu, 7 Jul 2016 20:42:48 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="HxbCn0Hp8mSvsfWI1fB5IozubxQ4pC1EMDS9aupbBp5Wnz6H8PcHW3mTe+GkMeKBwQmvxJ4u9fZis1MAur31i9FiCkLM7UB9ry1NSmiI3ESvG29fHQvAru8Co+6sb9pv"; mail-complaints-to="abuse@albasani.net" X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Cancel-Lock: sha1:juwqfPerEyd6qXNQqgpCxhaGpRs= X-Received-Body-CRC: 2375225923 X-Received-Bytes: 2967