]> granicus.if.org Git - curl/commit
alt-svc: send Alt-Used: in redirected requests
authorDaniel Stenberg <daniel@haxx.se>
Wed, 7 Aug 2019 18:43:18 +0000 (20:43 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 8 Aug 2019 06:24:37 +0000 (08:24 +0200)
commit98c3f14871d1de77d1f9704e2f309aef9be33553
tree8acbc5d678b57573078057c1af5c66e053c8ac9e
parent026840e35c7359c23741afe633bd3ab4b121c4ed
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
docs/libcurl/symbols-in-versions
include/curl/curl.h
lib/http.c
lib/url.c
lib/urldata.h