diff options
author | 2022-11-14 22:00:45 -0800 | |
---|---|---|
committer | 2022-11-14 22:00:45 -0800 | |
commit | c4cf38601be0a73bb6db2f0b2d31fd3e9270fbdc (patch) | |
tree | 24d84f104d0fe35cf15d75b4cf9fc56f93f536d9 /src | |
parent | 25fc19e7c6aa1348bcec8faee344c39c6347cbf6 (diff) | |
download | bun-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.zig | 2 |
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 }; |