I wanted to add a :log_level option to the SSL module. Many examples are on the Web or in HTTPoison documentation but it seems to me they are all wrong: using :ssl in HTTPoison options replace the set of SSL options, creating a lot of problems. You have, as mentioned here to pass the entire set of options.
I wanted to add a
:log_level
option to the SSL module. Many examples are on the Web or in HTTPoison documentation but it seems to me they are all wrong: using:ssl
in HTTPoison options replace the set of SSL options, creating a lot of problems. You have, as mentioned here to pass the entire set of options.For instance:
Does not produce the expected result (it disables SSL validation, for instance). You have to be more verbose: