🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #260569

Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?

#260569
From: Michael Bäuerle
Date: Thu, 07 Jul 2016 18:49
53 lines
3411 bytes
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).

Both, the "Content-Type" and Content-Transfer-Encoding" header fields
are only required for non-default values (according to RFC2045 [2][3]
and RFC2049 [1] Requirements 2 and 8).

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).

>My articles are generally MIME-header free. It's a matter of principle.
>I use MIME headers to convey a character set only and only in those
>rare circumstances in which I have no choice but to use non-ASCII characters.

For me (as a german) this is not an option. In the german hierarchy
almost every article is displayed and quoted crippled without MIME
support.

In the past I have used the ASCII-transcription of my name in the
header, but now in 2016 - two decades after RFC2047 [4] was released and
RFC5536 [5] has defined MIME as part of USENET article format - I have
eventually switched to this encoding. 


____________________
[1] <https://tools.ietf.org/html/rfc2049#section-2>
[2] <https://tools.ietf.org/html/rfc2045#section-5.2>
[3] <https://tools.ietf.org/html/rfc2045#section-6.1>
[4] <https://tools.ietf.org/html/rfc2047>
[5] <https://tools.ietf.org/html/rfc5536#section-2.3>
Technical Details
Message-ID: <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
References: <nli1e8$hi6$1@news.mixmin.net> <slrnnnt063.acp.catwheezel@ID-107770.user.individual.net> <AABXfoKROfUAABz1.A1.flnews@WStation5.stz-e.de> <nlm1f0$tbd$3@news.albasani.net>

Show Full Headers
Complete Article Headers
Message-ID: <AABXfqRQKo8AAEas.A1.flnews@WStation4.micha.freeshell.org>
Subject: Re: Do we really need mime-version, content-type, and content-transfer-encoding headers?
Date: Thu, 7 Jul 2016 18:49:52 -0000
From: Michael Bäuerle <michael.baeuerle@gmx.net>
References: <nli1e8$hi6$1@news.mixmin.net> <slrnnnt063.acp.catwheezel@ID-107770.user.individual.net> <AABXfoKROfUAABz1.A1.flnews@WStation5.stz-e.de> <nlm1f0$tbd$3@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-mail
Newsgroups: news.software.readers
Lines: 53
Mime-Version: 1.0
X-Trace: individual.net cLojBsUW0s9dnJlHDPX5sAx7tX/QuoKWwMhT8jFaqk/yOk8XVI
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:q+w5PDpALDsTVtXY1g+Cat6xLhI= sha1:+Dm4io2Ispx9zW00ehq+v6A+2nI=
Injection-Date: Thu, 7 Jul 2016 18:49:52 -0000
User-Agent: flnews/0.14pre41 (for AIX)
X-Received-Body-CRC: 2894906013
X-Received-Bytes: 3266