exvcr v0.12.0 ExVCR.Filter

Provide filters for request/responses.

Link to this section Summary

Functions

Filter out senstive data from the request header.

Filter out senstive data from the request options.

Filter out senstive 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)

Filter out senstive data from the request header.

Link to this function

filter_request_option(option, value)

Filter out senstive data from the request options.

Link to this function

filter_sensitive_data(body)

Filter out senstive data from the response.

Link to this function

filter_url_params(url)

Filter out query params from the url.

Link to this function

remove_blacklisted_headers(headers)

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

Link to this function

strip_query_params(url)

Remove query params from the specified url.