Don't use text but raw on FlareRequest
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Michel Roux 2022-12-21 15:56:04 +00:00
parent 1b04b7eb4b
commit cb5ecf9a29
1 changed files with 4 additions and 2 deletions

View File

@ -35,9 +35,11 @@ class FlareRequests(Session):
solution = response.json()
if "solution" in solution:
response.cookies = solution["solution"]["cookies"]
response.status_code = solution["solution"]["status"]
response.headers = solution["solution"]["headers"]
response.text = solution["solution"]["response"]
response.raw = solution["solution"]["response"]
response.url = url
response.cookies = solution["solution"]["cookies"]
return response