A Breakdown of HTTP Clients in Elixir
andrealeopardi.com
andrealeopardi.com
This sounds great in the sense that many of the issues I've had with those other platforms also have consideration here, but I guess my real question is:
Are http(s) requests always going to be bespoke and have application specific considerations? It also seems we can't escape having to know all of the layers ultimately, the socket, TLS, etc sometimes for even the most basic of http use cases. I feel like we don't have to do this for... Many other protocols.
You have a good point about HTTP though and I am not sure if it will improve given 1.1, 2.0, and 3.0 all imply different trade-offs as well.
I guess they all work.
I remember at some point HTTPoison & hackney were finicky with SSL certificate validation. But AFAIK HTTPoison is the only one that can do async requests to process chunks? [0]
[0] https://www.poeticoding.com/download-large-files-with-httpoi...
Using Mint was definitely "more work" to handle all of the streamed updates of the the response, but in the end, it has worked really well for me. The documentation for Mint is really good IMO.
Have you played with this?