-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add warning for lack of HTTPS support #105
Comments
Happy to get a PR. Is |
There are other options like wreq, and more recently req. http://haskelliseasy.readthedocs.io/en/latest/#http-clients might be a good reference and is probably a good starting point for a newcomer. There's a (presumably opinionated) discussion of HTTP clients at https://github.com/mrkkrp/req#motivation-and-req-vs-other-libraries. |
OK, maybe just list the alternatives? Neither of those look all that clear to me. |
@sjakobi I just wish there was a better list of alternatives; all those lists I see are opinionated towards using |
@hvr I'm simply not aware of any ok-looking HTTP-client library that supports HTTPS and doesn't rely on http-client. I'm also not aware of any issues that would make relying on http-client a bad thing… We can point people at https://hackage.haskell.org/packages/#cat:Network of course, but we should keep in mind that the target audience for the warning is newcomers who are exploring the ecosystem and may have difficulties telling apart useful packages from less useful or unmaintained packages. Referring them to http-client/http-client-tls, req and wreq seems better to me than not giving any guidance at all. |
I have opened #106. If necessary we can discuss the wording there. |
Newcomers to the Haskell ecosystem such as this one often don't realize at first that HTTP lacks HTTPS support.
Could a warning about this be added to the Cabal description? Would a PR be welcome? Should the warning include a recommendation e.g. for http-client?
The text was updated successfully, but these errors were encountered: