W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2015

Do ALTSVC parameters need to have a value?

From: Bence Béky <bnc@chromium.org>
Date: Thu, 23 Apr 2015 08:19:44 -0400
Message-ID: <CACMu3tr0B9fovpHf6fyFB5JFHOa4hqxpvxEv4q4iFn9OsmuM5g@mail.gmail.com>
To: HTTP <ietf-http-wg@w3.org>

I need some clarification.  I am writing a parser for ALTSVC header
fields and wish to ignore unknown parameters.  However, it is unclear
to me whether a parameter without "=value" should be ignored or
treated as malformed.

draft-ietf-httpbis-alt-svc-06 Section 3 refers to "parameter".
Section 1.1 says "parameter" is defined in RFC7230.  In fact, RFC7230
has "transfer-parameter" but not "parameter".  Also, RFC7230 Section
says "Parameters are in the form of a name or name=value pair.",
implicilty allowing names without values, but in the next line
"transfer-parameter" is defined as a name=value pair, which disallowes
names without values.  On the other hand, RFC7231 Section
defines "parameter" as a name=value pair, but this is not what
draft-ietf-httpbis-alt-svc-06 refers to.

Thank you,

Received on Thursday, 23 April 2015 12:20:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:44 UTC