Re: Clarification about Alt-Svc

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