Skip to content
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

fix(workers): Make importScripts() use the same HTTP client as fetch #12540

Merged
merged 3 commits into from
Oct 27, 2021

Conversation

andreubotella
Copy link
Contributor

The initial implementation of importScripts() in #11338 used reqwest's default client to fetch HTTP scripts, which meant it would not use certificates or other fetching configuration passed by command line flags. This change fixes it.

Towards #12472.

The initial implementation of `importScripts()` in denoland#11338 used
`reqwest`'s default client to fetch HTTP scripts, which meant it would
not use certificates or other fetching configuration passed by command
line flags. This change fixes it.

Towards denoland#12472.
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is reasonable change. LGTM from me

@bartlomieju bartlomieju merged commit 09dd77c into denoland:main Oct 27, 2021
@andreubotella andreubotella deleted the importscripts-cert-store branch October 27, 2021 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants