diff options
| author | 2021-12-18 20:23:10 -0800 | |
|---|---|---|
| committer | 2021-12-18 20:23:10 -0800 | |
| commit | 430fe09d6dcf0f6bf10460c95d5ac47e51189fc3 (patch) | |
| tree | fa1c2abedef74b2376158e7fdeb23240d94137fc /src/install | |
| parent | 5455c71f93360a66af59b70ec569050ba7a28442 (diff) | |
| download | bun-430fe09d6dcf0f6bf10460c95d5ac47e51189fc3.tar.gz bun-430fe09d6dcf0f6bf10460c95d5ac47e51189fc3.tar.zst bun-430fe09d6dcf0f6bf10460c95d5ac47e51189fc3.zip | |
Delete synchronous HTTP client!
Diffstat (limited to 'src/install')
| -rw-r--r-- | src/install/install.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/install/install.zig b/src/install/install.zig index c46e9784d..aa143f2f9 100644 --- a/src/install/install.zig +++ b/src/install/install.zig @@ -23,7 +23,7 @@ const DotEnv = @import("../env_loader.zig"); const which = @import("../which.zig").which; const Run = @import("../bun_js.zig").Run; const NewBunQueue = @import("../bun_queue.zig").NewBunQueue; -const HTTPClient = @import("../http_client.zig"); +const HeaderBuilder = @import("http").HeaderBuilder; const Fs = @import("../fs.zig"); const FileSystem = Fs.FileSystem; const Lock = @import("../lock.zig").Lock; @@ -225,7 +225,7 @@ const NetworkTask = struct { etag = manifest.pkg.etag.slice(manifest.string_buf); } - var header_builder = HTTPClient.HeaderBuilder{}; + var header_builder = HeaderBuilder{}; if (etag.len != 0) { header_builder.count("If-None-Match", etag); |
