-
-
Notifications
You must be signed in to change notification settings - Fork 279
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(request-manager): intercept for fetch nodejs native #16488
Conversation
6314785
to
349bf32
Compare
// See issue: https://github.com/TooTallNate/proxy-agents/issues/239 . | ||
import type { RequestOptions } from 'https'; | ||
|
||
import nodeFetch from 'cross-fetch'; |
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.
We were using cross-fetch
before, we also have node-fetch
and it should work with both since they use the same old API http.request.
3e5dfdc
to
d30b3b3
Compare
d30b3b3
to
ebf138f
Compare
5c7df5b
to
c4a4dd4
Compare
@peter-sanderson I ended-up rebasing with current develop. |
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.
Thank you @karliatto ✔️
Description
interceptFetch
to request-manager and use it in the tests.bridge-thor
and it should bebridge-tor
.