Merge pull request #83 from cnotin/patch-2

Fix multi HTTP responses
This commit is contained in:
lgandx 2018-08-24 14:34:53 -03:00 committed by GitHub
commit 6916b085ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -294,6 +294,8 @@ class HTTP(BaseRequestHandler):
line = line.strip()
remaining = int(line.split(':')[1].strip()) - len(data)
if data == "":
break
#now the data variable has the full request
Buffer = WpadCustom(data, self.client_address[0])