What's new Request decompresssion /8 (#26778)
* What's new Request decompresssion /8 * What's new Request decompresssion /8 * What's new Request decompresssion /8pull/26781/head
parent
4688bc955f
commit
4fddfa2966
|
@ -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'
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue