devinus/detergent

Handling HTTPS services.

Closed this issue · 3 comments

How do you access SOAP services that use HTTPS?

When accessing through HTTPS, I get the error:
** (MatchError) no match of right hand side value: {:error, :enoent}
src/detergent.erl:411: :detergent.get_url_file/1

In looking at the code, it seems like only the case for HTTP is handled. Is this a missing feature, or do I need to call HTTPS services in a different way? I'm just getting familiar with the library, so not sure. Thanks.

After taking a closer look, there's already an open pull request that implements HTTPS functionality. Can it be accepted and merged in? (It's been open for 2 years).

In the meantime, for anyone else that's running into this issue, point your dependencies to this version:
https://github.com/afternoon/detergent

I've only just started using it, but it seems to work just fine. It works for both HTTP and HTTPS services.

Closed by 5354f1c.

Can this published as a 0.3.1 version to hex? As best I can tell, there's no update for this change.