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

Re: Clarification about Alt-Svc

From: Ryan Hamilton <rch@google.com>
Date: Wed, 14 Jan 2015 13:52:04 -0800
Message-ID: <CAJ_4DfRRQQ66xGKmUkZqL4iJuOaLz0RTkdpX7vc7Cb8X0c+9MA@mail.gmail.com>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
On Wed, Jan 14, 2015 at 1:40 PM, Julian Reschke <julian.reschke@gmx.de>
wrote:

> ,,,
> On 2015-01-14 22:29, Ryan Hamilton wrote:
>
>> Howdy,
>>
>> I'd like to clarify that if a server would like to advertise two
>> alternate services with different expirations, it would do so with
>> something like:
>>
>>      Alt-Svc: h2=":80"; ma=3600, h2="new.example.org:80
>> <http://new.example.org:80>"; ma=3600
>>
>> Am I reading that correctly? Section 3 specifies:
>>
>>      Alt-Svc       = 1#( alternative *( OWS ";" OWS parameter ) )
>>
>> But I'm not confident that I understand what "1#" means in that line.
>>
>
>
> The definition is over here: <http://svn.tools.ietf.org/
> svn/wg/httpbis/specs/rfc7230.html#abnf.extension>
>

​AH! Thanks.
​


> So it could be:
>
>  Alt-Svc: h2=":80"; ma=3600, h2="new.example.org:80"; ma=3600
>
> or
>
>   Alt-Svc: ,,,h2=":80";ma=3600,,,,h2="new.example.org:80";ma=3600,,,
>
> or even
>
>  Alt-Svc: h2=":80"; ma=3600
>  Alt-Svc: h2="new.example.org:80"; ma=3600
>

​Perfect. Thanks so much.
Received on Wednesday, 14 January 2015 21:52:31 UTC

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