Record raw responses

With the shift to returning raw responses from requests instead of
the extracted text, we need to record them the same way for later
replay.

Change-Id: I506078cb74e3d15db8a28bef1174e914a8ca1d1b
This commit is contained in:
Jeremy Stanley 2023-12-22 19:20:27 +00:00
parent b9d85a8399
commit bacf2631c1

View File

@ -43,7 +43,7 @@ def requester(
print("Queried: %s" % response.url)
if mode == 'record':
# In record mode, also save a copy of the query results to replay
recording[(url, params)] = response.text
recording[(url, params)] = response
return response