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
The default :headers option would still be kept if no filtering is required.
The reasoning behind this request is to ignore some dynamic headers that would be difficult to remove/disable just for testing (e.g. a user-agent which uses the current application version), but always invalidates recorded cassettes because of their nature.
The text was updated successfully, but these errors were encountered:
The default :headers option would still be kept if no filtering is required.
The reasoning behind this request is to ignore some dynamic headers that would be difficult to remove/disable just for testing (e.g. a user-agent which uses the current application version), but always invalidates recorded cassettes because of their nature.
Good for testing ETag / "If-None-Match" interactions
Is it possible to use
match_request_on :headers
, but then specify which headers it should match?If not then I suggest something like:
The default
:headers
option would still be kept if no filtering is required.The reasoning behind this request is to ignore some dynamic headers that would be difficult to remove/disable just for testing (e.g. a
user-agent
which uses the current application version), but always invalidates recorded cassettes because of their nature.The text was updated successfully, but these errors were encountered: