puppeteer
Advanced tools
Comparing version 1.0.0-next.1515544418139 to 1.0.0-next.1515546200351
@@ -574,6 +574,8 @@ /** | ||
headers.sort(); | ||
for (const header of headers) { | ||
if (header === 'Accept' || header === 'Referer' || header === 'X-DevTools-Emulate-Network-Conditions-Client-Id') | ||
for (let header of headers) { | ||
const headerValue = request.headers[header]; | ||
header = header.toLowerCase(); | ||
if (header === 'accept' || header === 'referer' || header === 'x-devtools-emulate-network-conditions-client-id') | ||
continue; | ||
hash.headers[header] = request.headers[header]; | ||
hash.headers[header] = headerValue; | ||
} | ||
@@ -580,0 +582,0 @@ } |
{ | ||
"name": "puppeteer", | ||
"version": "1.0.0-next.1515544418139", | ||
"version": "1.0.0-next.1515546200351", | ||
"description": "A high-level API to control headless Chrome over the DevTools Protocol", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
252664
6365