alt-svc: send Alt-Used: in redirected requests

RFC 7838 section 5:

   When using an alternative service, clients SHOULD include an Alt-Used
   header field in all requests.

Removed CURLALTSVC_ALTUSED again (feature is still EXPERIMENTAL thus
this is deemed ok).

You can disable sending this header just like you disable any other HTTP
header in libcurl.

Closes #4199
This commit is contained in:
Daniel Stenberg 2019-08-07 20:43:18 +02:00
parent 026840e35c
commit 98c3f14871
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
5 changed files with 17 additions and 4 deletions

View file

@ -12,7 +12,6 @@
Name Introduced Deprecated Removed
CURLALTSVC_ALTUSED 7.64.1
CURLALTSVC_H1 7.64.1
CURLALTSVC_H2 7.64.1
CURLALTSVC_H3 7.64.1