Open
Description
In the following snippet we have
if parse_headers is False:
pass
elif parse_headers is True:
l = str(l, "utf-8")
k, v = l.split(":", 1)
resp_d[k] = v.strip()
else:
parse_headers(l, resp_d)
The else
part is unreachable and at the same time a call to parse_headers
is used.
parse_headers
is not a function.
Metadata
Metadata
Assignees
Labels
No labels