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

Re: Clarification about Alt-Svc

From: Julian Reschke <julian.reschke@gmx.de>
Date: Wed, 14 Jan 2015 22:40:13 +0100
Message-ID: <54B6E23D.7050509@gmx.de>
To: Ryan Hamilton <rch@google.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
,,,
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>

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

Best regards, Julian
Received on Wednesday, 14 January 2015 21:40:47 UTC

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