Uh oh!
There was an error while loading. Please reload this page.
Fix support for connection Upgrade and CONNECT when some data in the stream has been read. - #882
Conversation
MtkN1
commented
Feb 11, 2024
I have created a draft pull request to begin the work! My understanding is that the following work needs to be done...
@tomchristie I would appreciate any advice you can give me! |
Ah fantastic thanks, shall we start with a test?...
httpcore/tests/_async/test_http11.py Line 238 in 79fa6bf I think the next step after that will be...
And then...
|
MtkN1
commented
Feb 12, 2024
Thank you for your guidance 🙏 I'll give it a try. |
MtkN1
commented
Feb 14, 2024
Work completed, I marked PR as ready. Could you please review this?
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
lovelydinosaur
left a comment
There was a problem hiding this comment.
This one is a fantastic fix, thanks. ✨
Minor suggestion wrt. the tests.
Later follow-ups we can consider...
- Should all HTTP requests include this behaviour or only
Upgrade/CONNECT? - Should all HTTP requests return
network_streamor onlyUpgrade/CONNECT? - What might a nice
__repr__be here?
(I'm just jotting these down here for reference)
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Upgrade and CONNECT.Co-authored-by: Tom Christie <tom@tomchristie.com>
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: T-256 <132141463+T-256@users.noreply.github.com>
lovelydinosaur
commented
Feb 20, 2024
Nice work. |
MtkN1
commented
Feb 20, 2024
Thank you for your approval 🚀 It is a pleasure to contribute to this project. |
Summary
UpgradeandCONNECT. #872Checklist