mirror of
https://github.com/curl/curl.git
synced 2026-07-28 05:43:06 +03:00
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:
parent
026840e35c
commit
98c3f14871
5 changed files with 17 additions and 4 deletions
|
|
@ -883,7 +883,7 @@ typedef enum {
|
|||
|
||||
/* CURLALTSVC_* are bits for the CURLOPT_ALTSVC_CTRL option */
|
||||
#define CURLALTSVC_IMMEDIATELY (1<<0)
|
||||
#define CURLALTSVC_ALTUSED (1<<1)
|
||||
|
||||
#define CURLALTSVC_READONLYFILE (1<<2)
|
||||
#define CURLALTSVC_H1 (1<<3)
|
||||
#define CURLALTSVC_H2 (1<<4)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue