Add keep_headers parameter #143

This commit is contained in:
Namhyeon Go 2024-09-20 23:41:04 +09:00
parent 9730b639b9
commit 96c57b0daa

View File

@ -22,7 +22,7 @@ var AVAILABLE_PROXIES = [
{
"type": "stateless",
"provider": "scrapeops",
"url": "https://proxy.scrapeops.io/v1/?api_key={api_key}&url={url}&render_js={render_js}&residential={residential}&country={country}"
"url": "https://proxy.scrapeops.io/v1/?api_key={api_key}&url={url}&render_js={render_js}&residential={residential}&country={country}&keep_headers={keep_headers}"
},
{
"type": "stateful",
@ -1147,7 +1147,7 @@ exports.parseURL = parseURL;
exports.DEFAULT_USER_AGENT = DEFAULT_USER_AGENT;
exports.defaultUserAgent = DEFAULT_USER_AGENT; // compatible with the specific case
exports.VERSIONINFO = "HTTP client module (http.js) version 0.7.27";
exports.VERSIONINFO = "HTTP client module (http.js) version 0.7.28";
exports.AUTHOR = "abuse@catswords.net";
exports.global = global;
exports.require = global.require;