aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Dylan Conway <35280289+dylan-conway@users.noreply.github.com> 2022-11-14 22:00:45 -0800
committerGravatar GitHub <noreply@github.com> 2022-11-14 22:00:45 -0800
commitc4cf38601be0a73bb6db2f0b2d31fd3e9270fbdc (patch)
tree24d84f104d0fe35cf15d75b4cf9fc56f93f536d9 /src
parent25fc19e7c6aa1348bcec8faee344c39c6347cbf6 (diff)
downloadbun-c4cf38601be0a73bb6db2f0b2d31fd3e9270fbdc.tar.gz
bun-c4cf38601be0a73bb6db2f0b2d31fd3e9270fbdc.tar.zst
bun-c4cf38601be0a73bb6db2f0b2d31fd3e9270fbdc.zip
switch default encoding order (#1510)
Diffstat (limited to 'src')
-rw-r--r--src/http_client_async.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http_client_async.zig b/src/http_client_async.zig
index 06903db3a..384c9fa2f 100644
--- a/src/http_client_async.zig
+++ b/src/http_client_async.zig
@@ -826,7 +826,7 @@ const accept_header = picohttp.Header{ .name = "Accept", .value = "*/*" };
const accept_header_hash = hashHeaderName("Accept");
const accept_encoding_no_compression = "identity";
-const accept_encoding_compression = "deflate, gzip";
+const accept_encoding_compression = "gzip, deflate";
const accept_encoding_header_compression = picohttp.Header{ .name = "Accept-Encoding", .value = accept_encoding_compression };
const accept_encoding_header_no_compression = picohttp.Header{ .name = "Accept-Encoding", .value = accept_encoding_no_compression };