Article View: news.software.readers
Article #261713Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog
From: Michael Bäuerle
Date: Mon, 09 Jan 2017 12:35
Date: Mon, 09 Jan 2017 12:35
51 lines
3388 bytes
3388 bytes
Stijn De Jong wrote:
> On Sun, 8 Jan 2017 12:22:25 -0000, you wrote:
> >
> > Content-Type: text/plain; charset=US-ASCII"
^ ^
Sorry, this was a typo. There must be double quotes at beginning and end
or no double quotes at all.
> > Content-Transfer-Encoding: 7bit
> >
> > "text/plain" "US-ASCII" and "7bit" are defined to be used by a MIME
> > compliant receiver if nothing is specified.
>
> I've seen these in headers with and without the doublequotes.
> And I've seen the us-ascii as "US-ASCII", us-ascii, and "us-ascii".
>
> Does that variable syntax matter?
In general the headerfield names are case insensitive (RFC 5322 and
RFC 5234).
For the MIME headerfields above the media types and transfer encodings
are case insensitive too (RFC 2045).
In general for parameters the parameter name is case insensitive and
the value is case sensitive.
For the "charset" parameter above RFC 2046 defines an exception so that
the value of this parameter is case insensitive [1]. This means that
"US-ASCII" and "us-ascii" have the same meaning.
For the "charset" parameter above the value is allowed to contain
"quoted-string" values. RFC 2045 [2] says:
|
| Note that the value of a quoted string parameter does not include the
| quotes. That is, the quotation marks in a quoted-string are not a
| part of the value of the parameter, but are merely used to delimit
| that parameter value. [...]
Therefore:
charset="US-ASCII"
charset=US-ASCII
are both allowed and have the same meaning. In general the quoted string
variant is required only for values that contain forbidden characters
as defined in [2].
_________________
[1] <https://tools.ietf.org/html/rfc2046#section-4.1.2>
[2] <https://tools.ietf.org/html/rfc2045#section-5.1>
Technical Details
Message-ID:
<AABYc4OvAJgAAABL.A1.flnews@WStation5.stz-e.de>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:
<o4bg7v$t51$1@gioia.aioe.org> <1xmerwn6hkw2o.dlg@b.rose.tmpbox.news.arcor.de> <o4cbjs$4pc$1@gioia.aioe.org> <w4daz9t9jqbr$.dlg@b.rose.tmpbox.news.arcor.de> <o4mq1e$2u7$1@gioia.aioe.org> <1k5qgdg6ulbzp$.dlg@b.rose.tmpbox.news.arcor.de> <o4pna9$9u9$1@gioia.aioe.org> <11rcu0h87cvsa.dlg@b.rose.tmpbox.news.arcor.de> <o4rlog$1j7o$1@gioia.aioe.org> <1ffs4h0aol2bg.dlg@b.rose.tmpbox.news.arcor.de> <o4s2ec$a4u$1@gioia.aioe.org> <ybae5rblj1id.dlg@b.rose.tmpbox.news.arcor.de> <AABYci8BUB8AAFIq.A1.flnews@WStation4.micha.freeshell.org> <o4uq53$1co3$1@gioia.aioe.org>Show Full Headers
Complete Article Headers
Message-ID: <AABYc4OvAJgAAABL.A1.flnews@WStation5.stz-e.de> Subject: Re: Ping Bernd Rose: How do you set and define a variable in 40Tude Dialog Date: Mon, 9 Jan 2017 13:35:59 +0100 From: Michael Bäuerle <michael.baeuerle@stz-e.de> References: <o4bg7v$t51$1@gioia.aioe.org> <1xmerwn6hkw2o.dlg@b.rose.tmpbox.news.arcor.de> <o4cbjs$4pc$1@gioia.aioe.org> <w4daz9t9jqbr$.dlg@b.rose.tmpbox.news.arcor.de> <o4mq1e$2u7$1@gioia.aioe.org> <1k5qgdg6ulbzp$.dlg@b.rose.tmpbox.news.arcor.de> <o4pna9$9u9$1@gioia.aioe.org> <11rcu0h87cvsa.dlg@b.rose.tmpbox.news.arcor.de> <o4rlog$1j7o$1@gioia.aioe.org> <1ffs4h0aol2bg.dlg@b.rose.tmpbox.news.arcor.de> <o4s2ec$a4u$1@gioia.aioe.org> <ybae5rblj1id.dlg@b.rose.tmpbox.news.arcor.de> <AABYci8BUB8AAFIq.A1.flnews@WStation4.micha.freeshell.org> <o4uq53$1co3$1@gioia.aioe.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 Lines: 51 Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net> Mime-Version: 1.0 X-Trace: individual.net sjibNOJfS3Ux7FRkTWDtpg4e2CNgRVJOy1rGGjtSddjBk+4KZM X-Orig-Path: not-for-mail Cancel-Lock: sha1:xEjWil1xM3947rZCjiFKPlOAHcc= sha1:U2T9CwBMSMQ1nv8eE//SdmzH3aw= Injection-Date: Mon, 9 Jan 2017 12:35:59 -0000 User-Agent: flnews/0.14 (for NetBSD) X-Received-Body-CRC: 3301011017 X-Received-Bytes: 3275