You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interestingly this does save the location headers, while they are not saved in my application where I discovered this. Still when loading the dump, the headers are ignored.
I'd expect the location header to survive the save / restore.
Actual Result
Location header gets stripped by the replay from file.
The text was updated successfully, but these errors were encountered:
Describe the bug
When recording a request that contains a location header, that header is not there anymore, when replaying that request.
Additional context
It seems the code in _add_from_file() doesn't seem to restore headers, while the code in _dump() does seem to save them.
Version of
responses
0.25.0
Steps to Reproduce
Expected Result
Interestingly this does save the location headers, while they are not saved in my application where I discovered this. Still when loading the dump, the headers are ignored.
I'd expect the location header to survive the save / restore.
Actual Result
Location header gets stripped by the replay from file.
The text was updated successfully, but these errors were encountered: