Fixing a bug noticed during the yesterday's AppSecEU presentation (--headers='user-agent:foobar*' was not working properly)

This commit is contained in:
Miroslav Stampar 2013-08-23 11:54:08 +02:00
parent 3bbe02a714
commit 88b992ad83

View File

@ -338,6 +338,9 @@ class Connect(object):
if auxHeaders:
for key, item in auxHeaders.items():
for _ in headers.keys():
if _.upper() == key.upper():
del headers[_]
headers[key] = item
for key, item in headers.items():