Giter Club home page Giter Club logo

Comments (6)

hsenag avatar hsenag commented on August 18, 2024 1

OK, maybe just list the alternatives? Neither of those look all that clear to me.

from http.

hsenag avatar hsenag commented on August 18, 2024

Happy to get a PR. Is http-client the clear winner as an alternative? Otherwise is there a web page to point to discussing the options (I had a quick look on the wiki but didn't find anything).

from http.

sjakobi avatar sjakobi commented on August 18, 2024

Is http-client the clear winner as an alternative?

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.

from http.

hvr avatar hvr commented on August 18, 2024

@sjakobi I just wish there was a better list of alternatives; all those lists I see are opinionated towards using http-client under the hood in some way or another... :-/

from http.

sjakobi avatar sjakobi commented on August 18, 2024

all those lists I see are opinionated towards using http-client under the hood in some way or another...

@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.

from http.

sjakobi avatar sjakobi commented on August 18, 2024

I have opened #106. If necessary we can discuss the wording there.

from http.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.