Encode string for Response
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
bf49fd81c8
commit
8475acd411
@ -42,7 +42,7 @@ class FlareRequests(Session):
|
|||||||
if "solution" in solution:
|
if "solution" in solution:
|
||||||
resolved = Response()
|
resolved = Response()
|
||||||
|
|
||||||
resolved.raw = StringIO(solution["solution"]["response"])
|
resolved.raw = StringIO(solution["solution"]["response"].encode())
|
||||||
resolved.status_code = solution["solution"]["status"]
|
resolved.status_code = solution["solution"]["status"]
|
||||||
resolved.headers = solution["solution"]["headers"]
|
resolved.headers = solution["solution"]["headers"]
|
||||||
resolved.url = url
|
resolved.url = url
|
||||||
|
Reference in New Issue
Block a user