View Source ExVCR.Filter (exvcr v0.15.1)

Provide filters for request/responses.

Link to this section Summary

Functions

Filter out sensitive data from the request header.

Filter out sensitive data from the request options.

Filter out sensitive data from the response.

Filter out query params from the url.

Removes the headers listed in the response headers blacklist from the headers

Remove query params from the specified url.

Link to this section Functions

Link to this function

filter_request_header(header, value)

View Source

Filter out sensitive data from the request header.

Link to this function

filter_request_option(option, value)

View Source

Filter out sensitive data from the request options.

Link to this function

filter_sensitive_data(body)

View Source

Filter out sensitive data from the response.

Filter out query params from the url.

Link to this function

remove_blacklisted_headers(headers)

View Source

Removes the headers listed in the response headers blacklist from the headers

Remove query params from the specified url.