exvcr
exvcr copied to clipboard
Allow ExVCR.Config.filter_request_headers to receive a list of headers
Currently, it is not possible to do something like, ExVCR.Config.filter_request_headers(["header_one", "header_two"]).
This PR makes this possible.
Since ExVCR.Config.filter_request_headers is a plural term (headers) and it is possible to give a list of values when defining this config on config.exs as filter_request_headers: [], it seems that it is really non-intuitive the fact of giving a list of values to the function, it does not work (also no errors happen).