Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f27181c commit 8c80413Copy full SHA for 8c80413
1 file changed
lib/request/basic.py
@@ -51,7 +51,7 @@ def forgeHeaders(cookie, ua, referer):
51
else:
52
headers[header] = value
53
54
- if kb.redirectSetCookie:
+ if kb.redirectSetCookie and not conf.dropSetCookie:
55
if "Cookie" in headers:
56
headers["Cookie"] = "%s; %s" % (headers["Cookie"], kb.redirectSetCookie)
57
0 commit comments