mirror of
https://github.com/servo/servo.git
synced 2025-09-27 23:30:08 +01:00
Enable the zstd decoder (#36530)
Uses the `zstd` support from `async-compression` to support zstd Content-Encoding. Testing: Covered by wpt tests. Signed-off-by: webbeef <me@webbeef.org>
This commit is contained in:
parent
84465e7768
commit
bc496b08e7
9 changed files with 54 additions and 27 deletions
|
@ -184,7 +184,7 @@ fn set_default_accept_encoding(headers: &mut HeaderMap) {
|
|||
// TODO(eijebong): Change this once typed headers are done
|
||||
headers.insert(
|
||||
header::ACCEPT_ENCODING,
|
||||
HeaderValue::from_static("gzip, deflate, br"),
|
||||
HeaderValue::from_static("gzip, deflate, br, zstd"),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue