mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
b2bacd969c
Originally landed in
f6fd6619e7
.
Reverted in https://github.com/denoland/deno/pull/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 <sean@seanmonstar.com>
38 lines
940 B
TOML
38 lines
940 B
TOML
# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
|
|
[package]
|
|
name = "deno_fetch"
|
|
version = "0.185.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
readme = "README.md"
|
|
repository.workspace = true
|
|
description = "Fetch API implementation for Deno"
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
[dependencies]
|
|
base64.workspace = true
|
|
bytes.workspace = true
|
|
data-url.workspace = true
|
|
deno_core.workspace = true
|
|
deno_permissions.workspace = true
|
|
deno_tls.workspace = true
|
|
dyn-clone = "1"
|
|
http.workspace = true
|
|
http-body-util.workspace = true
|
|
hyper.workspace = true
|
|
hyper-rustls.workspace = true
|
|
hyper-util.workspace = true
|
|
ipnet.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
tokio.workspace = true
|
|
tokio-rustls.workspace = true
|
|
tokio-socks.workspace = true
|
|
tokio-util = { workspace = true, features = ["io"] }
|
|
tower.workspace = true
|
|
tower-http.workspace = true
|
|
tower-service.workspace = true
|