merged with latest version
This commit is contained in:
lgandx 2014-02-19 19:29:29 -05:00
commit f5b21d992a

View file

@ -1498,7 +1498,7 @@ def InjectData(data):
return Gzip
else:
return data
if "Content-Type: text/html" in Headers:
if "content-type: text/html" in Headers.lower():
Len = ''.join(re.findall('(?<=Content-Length: )[^\r\n]*', Headers))
HasHTML = re.findall('(?<=<html)[^<]*', Content)
if HasHTML :