What's new Request decompresssion /8 (#26778)

* What's new Request decompresssion /8

* What's new Request decompresssion /8

* What's new Request decompresssion /8
pull/26781/head
Rick Anderson 2022-08-18 16:58:29 -10:00 committed by GitHub
parent 4688bc955f
commit 4fddfa2966
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 1 deletions

View File

@ -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'

View File

@ -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).

View File

@ -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