Noob question: what's the purpose of having so many request libraries? In JavaScript it's crazy, but in Python it's starting to feel the same: requests, httpx, httpx2... From my perspective, HTTP requests have been mastered for years (decades?). What's the point of switching libraries? What's so extraordinary about the new HTTP library that makes requests look crap? I understand that new protocols appear from time to…
`requests` has a friendlier API than the standard library. However, it does not support newer versions of HTTP, nor does it support `async`. The maintainer considers it complete, feature-frozen software, IIRC - they'd rather keep it stable for existing users and let other libraries succeed it. `aiohttp` supports `async` but was never popular for non-async `httpx` supported newer HTTP versions and both async and non-a…
HTTPX2 – A next-generation HTTP client for Python
31–40 of 50 posts
Re: HTTPX2 – A next-generation HTTP client for Python
#32Re: HTTPX2 – A next-generation HTTP client for Python
#33Earlier quoted context omitted.
`requests` has a friendlier API than the standard library. However, it does not support newer versions of HTTP, nor does it support `async`. The maintainer considers it complete, feature-frozen software, IIRC - they'd rather keep it stable for existing users and let other libraries succeed it. `aiohttp` supports `async` but was never popular for non-async `httpx` supported newer HTTP versions and both async and non-a…
Also niquests as well which is a dropin replacement and imo wayyy better than httpx
Of course, it is clearly superior to everything else (being authored by a french guy !). But sadly, some people do not accept this simple fact :(
Re: HTTPX2 – A next-generation HTTP client for Python
#34I would been pleased to see this project named something else, maybe “httpx-ng” or “httpy” as I immediately link “http*2” with the obsolete http/2 protocol and not the httpx project.
Re: HTTPX2 – A next-generation HTTP client for Python
#35Noob question: what's the purpose of having so many request libraries? In JavaScript it's crazy, but in Python it's starting to feel the same: requests, httpx, httpx2... From my perspective, HTTP requests have been mastered for years (decades?). What's the point of switching libraries? What's so extraordinary about the new HTTP library that makes requests look crap? I understand that new protocols appear from time to…
`requests` has a friendlier API than the standard library. However, it does not support newer versions of HTTP, nor does it support `async`. The maintainer considers it complete, feature-frozen software, IIRC - they'd rather keep it stable for existing users and let other libraries succeed it. `aiohttp` supports `async` but was never popular for non-async `httpx` supported newer HTTP versions and both async and non-a…
>`httpx` supported newer HTTP versions and both async and non-async. However the maintainer decided to close all outside submissions, issues and discussions for personal reasons.
how can something like this happen? and which positive consequence there can be out of that?
Re: HTTPX2 – A next-generation HTTP client for Python
#36Re: HTTPX2 – A next-generation HTTP client for Python
#37Earlier quoted context omitted.
Also niquests as well which is a dropin replacement and imo wayyy better than httpx
niquest is something like a one-man-show, which is an issue-per-se Of course, it is clearly superior to everything else (being authored by a french guy !). But sadly, some people do not accept this simple fact :(
Re: HTTPX2 – A next-generation HTTP client for Python
#38Nevertheless, I'm curious about the pros and cons when comparing with "niquests".
Re: HTTPX2 – A next-generation HTTP client for Python
#39Earlier quoted context omitted.
`requests` has a friendlier API than the standard library. However, it does not support newer versions of HTTP, nor does it support `async`. The maintainer considers it complete, feature-frozen software, IIRC - they'd rather keep it stable for existing users and let other libraries succeed it. `aiohttp` supports `async` but was never popular for non-async `httpx` supported newer HTTP versions and both async and non-a…
thanks for the summary. >`httpx` supported newer HTTP versions and both async and non-async. However the maintainer decided to close all outside submissions, issues and discussions for personal reasons. how can something like this happen? and which positive consequence there can be out of that?
Specifically in this case, the consensus seems to be the maintainer is having some mental health struggles and chose to close out outside contribution.
Re: HTTPX2 – A next-generation HTTP client for Python
#40People should be aware how much worse HTTPX performs versus Aiohttp. For high scale systems it makes a massive difference
I searched and searched for way too long and could not find any information on whether or not aiohttp supports HTTP/2 or 3... do you know or have any reference that explains what all is supported?