mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2025-08-08 12:49:36 +00:00
Merge pull request #6 from lwthiker/firefox_http2_headers
Fix the order of HTTP2 headers in Firefox
This commit is contained in:
8
firefox/patches/curl-http2-c.patch
Normal file
8
firefox/patches/curl-http2-c.patch
Normal file
@@ -0,0 +1,8 @@
|
||||
--- curl-7.81.0-original/lib/http2.c 2022-01-03 18:36:46.000000000 +0200
|
||||
+++ curl-7.81.0/lib/http2.c 2022-02-19 20:21:06.381022445 +0200
|
||||
@@ -1820,3 +1820,4 @@
|
||||
field list. */
|
||||
-#define AUTHORITY_DST_IDX 3
|
||||
+/* curl-impersonate: Put the ":authority" header in the second place. */
|
||||
+#define AUTHORITY_DST_IDX 2
|
||||
|
Reference in New Issue
Block a user