Minor refactoring

This commit is contained in:
Miroslav Stampar 2012-10-09 11:33:19 +02:00
parent 10b0fd21dc
commit ea12ccec77

View File

@ -278,7 +278,7 @@ def __feedTargetsDict(reqFile, addedTargetUrls):
params = True
# Headers
elif ": " in line:
elif re.search(r"\A\S+: ", line):
key, value = line.split(": ", 1)
# Cookie and Host headers