aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/http_client_async.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/http_client_async.zig b/src/http_client_async.zig
index 441c8ae47..d49f7814d 100644
--- a/src/http_client_async.zig
+++ b/src/http_client_async.zig
@@ -2802,8 +2802,6 @@ pub fn handleResponseMetadata(
} else if (strings.eqlComptime(header.value, "deflate")) {
this.state.encoding = Encoding.deflate;
this.state.content_encoding_i = @as(u8, @truncate(header_i));
- } else if (!strings.eqlComptime(header.value, "identity")) {
- return error.UnsupportedContentEncoding;
}
},
hashHeaderConst("Transfer-Encoding") => {