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

Reland "refactor(fetch): reimplement fetch with hyper instead of reqwest" #24593

Merged
merged 8 commits into from
Jul 17, 2024

Conversation

bartlomieju
Copy link
Member

@bartlomieju bartlomieju commented Jul 15, 2024

Originally landed in f6fd661.
Reverted in #24574.

Still need to fix the error from #24574 (comment).

This reland contains a fix that sends Accept: */* header for calls made
from FileFetcher. Absence of this header made downloading source code
from JSR broken. This is tested by ensuring this header is present in the
test server that servers JSR packages.

CC @seanmonstar

@bartlomieju bartlomieju changed the title reland "refactor(fetch): reimplement fetch with hyper instead of reqwest" Reland "refactor(fetch): reimplement fetch with hyper instead of reqwest" Jul 15, 2024
Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

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

LGTM

@bartlomieju bartlomieju merged commit 7b33623 into denoland:main Jul 17, 2024
17 checks passed
@bartlomieju bartlomieju deleted the reland_hyper_fetch branch July 17, 2024 23:37
bartlomieju added a commit that referenced this pull request Jul 22, 2024
…est" (#24593)

Originally landed in
f6fd661.
Reverted in #24574.

This reland contains a fix that sends "Accept: */*" header for calls made
from "FileFetcher". Absence of this header made downloading source code
from JSR broken. This is tested by ensuring this header is present in the
test server that servers JSR packages.

---------

Co-authored-by: Sean McArthur <[email protected]>
bartlomieju added a commit that referenced this pull request Jul 24, 2024
This commit fixes handling of "authority" in the URL by properly
sending "Authorization Basic..." header in `fetch` API.

This is a regression from #24593
Fixes #24697

CC @seanmonstar
dsherret pushed a commit that referenced this pull request Jul 26, 2024
This commit fixes handling of "authority" in the URL by properly
sending "Authorization Basic..." header in `fetch` API.

This is a regression from #24593
Fixes #24697

CC @seanmonstar
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