python-hyper / hyper

HTTP/2 for Python.
http://hyper.rtfd.org/en/latest/
MIT License
1.05k stars 192 forks source link

HTTPS proxy support #304

Closed chripede closed 7 years ago

chripede commented 7 years ago

Is this planned? I see that proxy support for http is included, but since almost every host only serves HTTP2 on https it seems kind of useless.

Lukasa commented 7 years ago

"planned" is a tricky term.

This project is not hugely actively developed at the moment, primarily because my main focus right now is on rewriting urllib3 with an eye towards a HTTP/2 future. This means that I don't have any time to actively develop code for this library. However, I'm happy to code-review patches, including a patch that would add this functionality, so if you or someone else would like to take up the work to do it then I'm happy to work with them.

vfaronov commented 7 years ago

@Lukasa

my main focus right now is on rewriting urllib3 with an eye towards a HTTP/2 future

Does this mean that Hyper will essentially be obsoleted by urllib3 2.0?

Lukasa commented 7 years ago

@vfaronov The answer is "it depends". Eventually, I'd like it to be, yes. But we're a very long way around from that.

Hyper still has an active and valuable role to play in the Python HTTP ecosystem, and I certainly won't prevent people from maintaining and improving Hyper in the long term. Indeed, I'm looking at adding some co-maintainers in future because I don't have a bunch of time to spend on Hyper at the moment.

Certainly, urllib3 v2 will not contain HTTP/2 support: only the hooks necessary for adding it. In the long term we may add it in a future patch, but that's definitely at least 6 months away.

LLCampos commented 7 years ago

My understanding is that this issue was solved by #322. Better to close it to avoid confusion?

Lukasa commented 7 years ago

Yup. 😁