Skip to content

Commit

Permalink
optimize ClientProfile_Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
imroc committed Aug 2, 2023
1 parent 47d0c90 commit 445e518
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ var chromeHeaderOrder = []string{
"sec-fetch-dest",
"accept-encoding",
"accept-language",
"cookie",
}

var chromePseudoHeaderOrder = []string{
Expand All @@ -60,7 +61,7 @@ var chromeHeaders = map[string]string{
"cache-control": "no-cache",
"sec-ch-ua": `"Chromium";v="106", "Google Chrome";v="106", "Not;A=Brand";v="99"`,
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "macOS",
"sec-ch-ua-platform": `"macOS"`,
"upgrade-insecure-requests": "1",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36",
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
Expand Down

0 comments on commit 445e518

Please sign in to comment.