Add support for impersonating Chrome 107

Chrome 107 was recently released. The only difference in signature from
previous Chrome versions is that an HTTP2_NO_SERVER_PUSH setting is sent
in the HTTP2 SETTINGS frame.
This commit is contained in:
lwthiker
2022-11-12 21:49:35 +02:00
parent 89eef11ba4
commit 1ab42e1111
5 changed files with 268 additions and 57 deletions
+10 -1
View File
@@ -134,7 +134,7 @@ class TestImpersonation:
TEST_URLS = [
"https://www.wikimedia.org",
"https://www.wikipedia.org",
"https://www.mozilla.org/en-US",
"https://www.mozilla.org/en-US/",
"https://www.apache.org",
"https://www.kernel.org",
"https://git-scm.com"
@@ -147,6 +147,7 @@ class TestImpersonation:
("curl_chrome100", None, None, "chrome_100.0.4896.127_win10"),
("curl_chrome101", None, None, "chrome_101.0.4951.67_win10"),
("curl_chrome104", None, None, "chrome_104.0.5112.81_win10"),
("curl_chrome107", None, None, "chrome_107.0.5304.107_win10"),
("curl_chrome99_android", None, None, "chrome_99.0.4844.73_android12-pixel6"),
("curl_edge99", None, None, "edge_99.0.1150.30_win10"),
("curl_edge101", None, None, "edge_101.0.1210.47_win10"),
@@ -193,6 +194,14 @@ class TestImpersonation:
"libcurl-impersonate-chrome",
"chrome_104.0.5112.81_win10"
),
(
"minicurl",
{
"CURL_IMPERSONATE": "chrome107"
},
"libcurl-impersonate-chrome",
"chrome_107.0.5304.107_win10"
),
(
"minicurl",
{