puppeteer
Advanced tools
Comparing version 1.0.0-next.1515463858907 to 1.0.0-next.1515463970965
@@ -275,5 +275,10 @@ /** | ||
const driver = options.protocol === 'https:' ? 'https' : 'http'; | ||
const request = require(driver).request(options, response); | ||
const request = require(driver).request(options, res => { | ||
if (res.statusCode >= 300 && res.statusCode < 400 && res.headers.location) | ||
httpRequest(res.headers.location, method, response); | ||
else | ||
response(res); | ||
}); | ||
request.end(); | ||
return request; | ||
} |
{ | ||
"name": "puppeteer", | ||
"version": "1.0.0-next.1515463858907", | ||
"version": "1.0.0-next.1515463970965", | ||
"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
252490
6361