-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
feat(unstable): remove Deno.upgradeHttp API #21856
feat(unstable): remove Deno.upgradeHttp API #21856
Conversation
Ignore. I misread |
@iuioiua how would that break std/http? I don't see @imcotton yes, |
Oh, I thought So |
Wait, looks like I'm mistaken. @mmastrac do you remember why we made |
EDIT: I'm looking through the APIs again and I've forgotten why we ended up in this state. I'd have to refresh my memory a bit, but there were a few concerns -- one of them was that the |
OK, after some further analysis:
Note that
Note that I would not be against developing a new API to handle |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Closes #21828.
This API is a huge footgun. And given that "Deno.serveHttp" is a deprecated
API that is discouraged to use (use "Deno.serve()" instead); it makes no
sense to keep this API around.
This is a step towards fully migrating to Hyper 1.