mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2026-08-26 06:08:12 +00:00
Fix Edge and Firefox HTTP headers
The HTTP headers for Edge and Firefox were slightly incorrect. curl patches fromee0a67058fand351dba44d0
This commit is contained in:
@@ -12,11 +12,11 @@ dir=`echo "$0" | sed 's%/[^/]*$%%'`
|
||||
-H 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8' \
|
||||
-H 'Accept-Language: en-US,en;q=0.5' \
|
||||
-H 'Accept-Encoding: gzip, deflate, br' \
|
||||
-H 'Connection: keep-alive' \
|
||||
-H 'Upgrade-Insecure-Requests: 1' \
|
||||
-H 'Sec-Fetch-Dest: document' \
|
||||
-H 'Sec-Fetch-Mode: navigate' \
|
||||
-H 'Sec-Fetch-Site: none' \
|
||||
-H 'Sec-Fetch-User: ?1' \
|
||||
-H 'TE: Trailers' \
|
||||
--http2 --false-start --compressed \
|
||||
$@
|
||||
|
||||
Reference in New Issue
Block a user