Minor update

This commit is contained in:
Miroslav Stampar
2012-10-07 20:28:24 +02:00
parent ff205f088b
commit 8e7449ccd5
2 changed files with 7 additions and 5 deletions

View File

@@ -51,6 +51,8 @@ def forgeHeaders(items=None):
headers = dict(conf.httpHeaders)
headers.update(items or {})
headers = dict(("-".join(_.capitalize() for _ in key.split('-')), value) for (key, value) in headers.items())
if conf.cj:
if HTTPHEADER.COOKIE in headers:
for cookie in conf.cj: