-
Notifications
You must be signed in to change notification settings - Fork 106
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
Support connection Upgrade
and CONNECT
.
#872
Comments
Thanks @MtkN1. If you (or anyone else) would like to work on this, a good starting point might be a PR that raises an exception in |
Upgrade
and CONNECT
.
Thank you @MtkN1 for contributing to close this issue! ⭐ The rewards from this issue, totalling $200, has been shared with you. What now?
If you already have a Polar account setup, you don't need to do anything. |
Wow, I'm surprised there's such a reward! I've set up Polar since I have a Stripe account 🙂 |
In cases of
CONNECT
andUpgrade
requests, it is necessary to handle the incoming data (h11.Connection.trailing_data
).https://h11.readthedocs.io/en/latest/api.html?highlight=trailing_data#switching-protocols
However, accessing
trailing_data
in HTTPCore requires a very lengthy property access.Making this accessible through the public API would be beneficial for developers using the
"network_stream"
.Related HTTPCore documentation: https://www.encode.io/httpcore/extensions/#network_stream
Here is what tomchristie suggested in the discussion. #871 (comment)
Important
The text was updated successfully, but these errors were encountered: