-
-
Notifications
You must be signed in to change notification settings - Fork 942
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
try undici http client #1419
Comments
I might be able to help with that. We are discussing how Undici fits in the long term HTTP technical plans in the next web-server-frameworks team meeting. If the interface will be kept I can implement it. cc/ @mmarchini |
We can solve this in two ways:
|
To everyone here, how do you use The Currently it's not possible to mutate the request using I made a PoC wrapper that allows native Agents to be used with A workaround would be to soft-fail but that can lead to unexpected behavior. |
I agree with the concept that it should not be possible to mutate the request. So eventually we can just soft-fail (nop, do nothing). If anyone has any arguments for the opposite, please comment. |
|
We used Anyways - thanks for making |
Oh, also - as soon as we switched from using |
Unfortunately "just use undici directly" isn't an option for me, given 1. community packages (got-scraping is a godsend), and 2. hooks |
What problem are you trying to solve?
speed improvement
Describe the feature
use new http/1.1 client https://github.com/nodejs/undici, which is faster than builtin
http
original tweet - https://twitter.com/matteocollina/status/1298148085210775553
Checklist
The text was updated successfully, but these errors were encountered: