Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit facc54f

Browse files
author
Louis-Philippe Huberdeau
committed
Receiving some messages with a differerent header line
1 parent 4c7da11 commit facc54f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/utils/har.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def parse(cls, raw):
144144
altered = raw
145145
comment = ""
146146

147-
if altered.startswith("HTTP response ["):
147+
if altered.startswith("HTTP response [") or altered.startswith("HTTP redirect ["):
148148
io = StringIO.StringIO(raw)
149149
first_line = io.readline()
150150
parts = cls.extract_status.search(first_line)

0 commit comments

Comments
 (0)