diff --git a/aspnetcore/fundamentals/middleware/request-decompression.md b/aspnetcore/fundamentals/middleware/request-decompression.md index 47e669f7ef..58dbb64a10 100644 --- a/aspnetcore/fundamentals/middleware/request-decompression.md +++ b/aspnetcore/fundamentals/middleware/request-decompression.md @@ -1,5 +1,5 @@ --- -title: Request Decompression in ASP.NET Core +title: Request decompression in ASP.NET Core author: david-acker description: Learn how to use the request decompression middleware in ASP.NET Core monikerRange: '>= aspnetcore-7.0' diff --git a/aspnetcore/release-notes/aspnetcore-7.0.md b/aspnetcore/release-notes/aspnetcore-7.0.md index ce4958881f..71ba982e09 100644 --- a/aspnetcore/release-notes/aspnetcore-7.0.md +++ b/aspnetcore/release-notes/aspnetcore-7.0.md @@ -272,3 +272,13 @@ services.AddW3CLogging(logging => ``` For more information,see [W3CLogger options](xref:fundamentals/w3c-logger/index#w3clogger-options-1). + +### Request decompression + +The new [Request decompression middleware](xref:fundamentals/middleware/request-decompression?view=aspnetcore-7.0&preserve-view=true): + +* Enables API endpoints to accept requests with compressed content. +* Uses the [`Content-Encoding`](https://developer.mozilla.org/docs/Web/HTTP/Headers/Content-Encoding) HTTP header to automatically identify and decompress requests which contain compressed content. +* Eliminates the need to write code to handle compressed requests. + +For more information, see [Request decompression middleware](xref:fundamentals/middleware/request-decompression?view=aspnetcore-7.0&preserve-view=true). diff --git a/aspnetcore/toc.yml b/aspnetcore/toc.yml index 9c0aca5d43..abfb687e4f 100644 --- a/aspnetcore/toc.yml +++ b/aspnetcore/toc.yml @@ -1471,6 +1471,9 @@ items: - name: Request and response operations displayName: middleware uid: fundamentals/middleware/request-response + - name: Request decompression + displayName: request decompression middleware + uid: fundamentals/middleware/request-decompression - name: URL rewriting uid: fundamentals/url-rewriting - name: File providers