🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #260307

Re: Content-Type: charset

#260307
From: Anton Shepelev
Date: Sun, 26 Jun 2016 18:10
39 lines
2502 bytes
Michael Bauerle:
> Anton Shepelev:
>
> > I   couldn't  find  the  specification  for  the
> > 'charset' parameter in the 'Content-Type:' head-
> > er.
>
> This is a MIME header field defined in RFC2045:
> <https://tools.ietf.org/html/rfc2045#section-5>
>
> In chapter 2 there is the definition:
>
>   All  media  type  values,  subtype  values,  and
>   parameter names as defined are case-insensitive.
>   However,  parameter  values  are  case-sensitive
>   unless  otherwise  specified  for  the  specific
>   parameter.
>
> > My  particular  question  is  whether  it can be
> > specified in upper  case,  e.g.  'US-ASCII',  or
> > must always be in lower case, e.g. 'us-ascii'.
>
> This  is  one of the cases cited above, where "un-
> less otherwise specified" comes into play. The pa-
> rameter  value for "charset" is defined in RFC2046
> as case-insensitive:
>
> ,----[ <https://tools.ietf.org/html/rfc2046#section-4.1.2> ]
> | Unlike some other parameter values,  the  values
> | of the charset parameter are NOT case sensitive.
> `-------------------------------------------------

Thank you very much, Mechael, for the references and
the answer.  I think you just helped to remove a bug
an NNTP-to-Fido gateway.

-- 
()  ascii ribbon campaign - against html e-mail
/\  http://preview.tinyurl.com/qcy6mjc [archived]
Technical Details
Message-ID: <20160626211034.174b2c00149e6eff21a33ad2@gmail.com>
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: <20160626143558.7f1e16c070585e199900ab68@gmail.com> <AABXb83ME5wAAAoj.A1.flnews@WStation6.micha.freeshell.org>

Show Full Headers
Complete Article Headers
Message-ID: <20160626211034.174b2c00149e6eff21a33ad2@gmail.com>
Subject: Re: Content-Type: charset
Date: Sun, 26 Jun 2016 21:10:34 +0300
From: Anton Shepelev <anton.txt@gmail.com>
References: <20160626143558.7f1e16c070585e199900ab68@gmail.com> <AABXb83ME5wAAAoj.A1.flnews@WStation6.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: A noiseless patient Spider
Lines: 39
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: mx02.eternal-september.org; posting-host="8acc9d2e2f3c379998718f2bae27a0a5";
 logging-data="11804"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yzjX6yu3a78rMZxmr+q7b4glhnDPF5f0="
X-Newsreader: Sylpheed 3.5.0 (GTK+ 2.24.23; i686-pc-mingw32)
Cancel-Lock: sha1:0EVaHNGTbU0/ND9yWs8MX/5d9EI=
X-Received-Body-CRC: 109904289
X-Received-Bytes: 2470