parroty / exvcr

HTTP request/response recording library for elixir, inspired by VCR.
MIT License
720 stars 131 forks source link

Fix sanitize options function in hackney adapter converter #169

Closed riverrun closed 3 years ago

riverrun commented 3 years ago

Background

When setting ssl options in hackney, we need to get the existing ssl options and merge them with any needed additions. The problem is that the existing ssl options contain function names, which the hackney converter sanitize_options function does not properly handle, resulting in an ArgumentError.

Solution

Updated the hackney converter sanitize_options function.

parroty commented 3 years ago

Thank you!