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
This works great for every other request method (works for GET, POST, PATCH, PUT), but those headers are not removed before the delete request .yaml is saved.
Note that headers are removed by two methods:
'filter_headers' is passed to vcr to remove "Cookie"
the 'set-cookie' header is replaced with 'safetoken' in before_record_response
Interestingly, neither of these methods works for the delete request.
Thoughts?
The text was updated successfully, but these errors were encountered:
It's possible that I've done something wrong, but I've overridden the
vcr
config inconftest.py
as below:Where
scrub_header
replaces headers as such:This works great for every other request method (works for GET, POST, PATCH, PUT), but those headers are not removed before the delete request .yaml is saved.
Note that headers are removed by two methods:
vcr
to remove "Cookie"before_record_response
Interestingly, neither of these methods works for the delete request.
Thoughts?
The text was updated successfully, but these errors were encountered: