Skip to content

HTTP/2 #6856

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

Closed
3052 opened this issue Dec 15, 2024 · 4 comments
Closed

HTTP/2 #6856

3052 opened this issue Dec 15, 2024 · 4 comments

Comments

@3052
Copy link

3052 commented Dec 15, 2024

I am trying to get HTTP/2 with requests, and I found these:

It can: http://hyper.readthedocs.org/en/development/quickstart.html#requests-integration

#2082 (comment)

There is no roadmap for this. HTTP/2 is a complex protocol and it is not likely that Requests in its current form will achieve good support for it any time soon. In the meantime, you can use this.

#3601 (comment)

hyper is a possible Python alternative. I believe they still support using the Requests interface over the top of their H2 stack.

#5506 (comment)

the problem is that Hyper is archived now:

https://github.com/python-hyper/hyper

and further, it does not support Python 3.10 (2021) or higher

@snooppr
Copy link

snooppr commented Jan 6, 2025

Try a more modern python library: httpx, http/2 support is declared.

Syntax is the same as requests.

@sethmlarson
Copy link
Member

urllib3 would need to add support for HTTP/2, Requests doesn't actually do any HTTP handling itself. Closing this issue as not actionable.

@sethmlarson
Copy link
Member

@3052 Being rude to volunteers is not a good look.

are you really just resigned to not having HTTP/2 support in Requests?

I also maintain urllib3 which is actively working on HTTP/2 support, duplicating work makes no sense to me, does it make sense to you?

and yes, its very much actionable - you could switch to another HTTP handler

Fork it yourself, then.

@3052
Copy link
Author

3052 commented Jan 16, 2025

Being rude to volunteers is not a good look.

check a mirror - you initial comment is incredibly rude and frankly just wrong - the problem is actionable, you are just refusing to action on it. "wont fix" would be a better response

@psf psf locked and limited conversation to collaborators Jan 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants