Skip to content

V11 P3 Update: Zstandard response compression added to request-decompression.md #36993

@wadepickett

Description

@wadepickett

Description

zstd support was added in dotnet/aspnetcore#65479 for 11.0-preview3
See PR #36991 introduces the following new feature for ASP.NET Core in .NET 11 Preview 3:

Zstandard (zstd) response compression and request decompression: built-in support for the zstd algorithm in both the Response Compression Middleware and Request Decompression Middleware.

This is the single reference article for request decompression. The "Default decompression providers" table (lines 46–52) explicitly lists the supported Content-Encoding values. Developers sending zstd-compressed request bodies will consult this table. If it's not listed, they'll assume they need to write a custom decompression provider.

Also see related:
#36992 for response compression.
#36990 for parent tracking issue.

Suggested changes

1. Update the default decompression providers table (lines 48–52)

Add zstd:

| [`Content-Encoding`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding) header values | Description |
| --------- | --------- |
| `br`      | [Brotli compressed data format](https://tools.ietf.org/html/rfc7932) |
| `deflate` | [DEFLATE compressed data format](https://tools.ietf.org/html/rfc1951) |
| `gzip`    | [Gzip file format](https://tools.ietf.org/html/rfc1952) |
| `zstd`    | [Zstandard compressed data format](https://facebook.github.io/zstd/) |

2. Add an Additional Resources link (line 92)

* [Zstandard Compression Format](https://www.rfc-editor.org/rfc/rfc8878)

Page URL

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/middleware/request-decompression?view=aspnetcore-10.0

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/middleware/request-decompression.md

Document ID

805af69b-098d-f05e-10df-3e44c35cffa8

Platform Id

dbeecfd8-fa20-ca09-4772-7cdd7f26f52d

Article author

@tdykstra

Metadata

  • ID: 805af69b-098d-f05e-10df-3e44c35cffa8
  • PlatformId: dbeecfd8-fa20-ca09-4772-7cdd7f26f52d
  • Service: aspnet-core
  • Sub-service: fundamentals

Related Issues

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions