This last commit was in haste :)

This commit is contained in:
Miroslav Stampar 2013-01-19 19:07:38 +01:00
parent 6a87dd9225
commit e9641e30db

View File

@ -292,8 +292,7 @@ def _feedTargetsDict(reqFile, addedTargetUrls):
# Cookie and Host headers # Cookie and Host headers
if key.upper() == HTTPHEADER.COOKIE.upper(): if key.upper() == HTTPHEADER.COOKIE.upper():
cookie = value cookie = value
elif False: elif key.upper() == HTTPHEADER.HOST.upper():
#elif key.upper() == HTTPHEADER.HOST.upper():
if '://' in value: if '://' in value:
scheme, value = value.split('://')[:2] scheme, value = value.split('://')[:2]
splitValue = value.split(":") splitValue = value.split(":")