Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alt-Svc quic= a list #1097

Merged
merged 4 commits into from
Feb 6, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions draft-ietf-quic-http.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ port.

This document defines the "quic" parameter for Alt-Svc, which MAY be used to
provide version-negotiation hints to HTTP/QUIC clients. QUIC versions are
four-octet sequences with no additional constraints on format. Syntax:
four-octet sequences with no additional constraints on format. Leading zeros
SHOULD be omitted for brevity.

Syntax:

~~~ abnf
quic = DQUOTE version-number [ "," version-number ] * DQUOTE
Expand All @@ -138,14 +141,16 @@ For example, if a server supported both version 0x00000001 and the version
rendered in ASCII as "Q034", it could specify the following header:

~~~ example
Alt-Svc: hq=":49288";quic="1,51303334"
Alt-Svc: hq=":49288";quic="1,dadababa,51303334"
Copy link
Member

@LPardue LPardue Feb 5, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0xdadababa value is not explained in preceding paragraph.

~~~

Where multiple versions are listed, the order of the values reflects the
server's preference (with the first value being the most preferred version).
Leading zeros SHOULD be omitted for brevity. Origins SHOULD list only versions
which are supported by the alternative, but MAY omit supported versions for any
reason.
Reserved versions MAY be listed, but unreserved versions which are not supported
by the alternative SHOULD NOT be present in the list. Origins MAY omit supported
versions for any reason.

Clients MUST ignore any included versions which they do not support.


## Connection Establishment {#connection-establishment}
Expand Down