Update text (#16661)

pull/16667/head
Luke Latham 2020-01-22 12:39:21 -06:00 committed by GitHub
parent 23c763fc4b
commit 4477680f93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ description: Learn about response compression and how to use Response Compressio
monikerRange: '>= aspnetcore-2.1'
ms.author: riande
ms.custom: mvc
ms.date: 12/05/2019
ms.date: 01/22/2020
uid: performance/response-compression
---
# Response compression in ASP.NET Core
@ -133,7 +133,7 @@ public class Startup
Notes:
* `app.UseResponseCompression` must be called before `app.UseMvc`.
* `app.UseResponseCompression` must be called before any middleware that compresses responses. For more information, see <xref:fundamentals/middleware/index#middleware-order>.
* Use a tool such as [Fiddler](https://www.telerik.com/fiddler), [Firebug](https://getfirebug.com/), or [Postman](https://www.getpostman.com/) to set the `Accept-Encoding` request header and study the response headers, size, and body.
Submit a request to the sample app without the `Accept-Encoding` header and observe that the response is uncompressed. The `Content-Encoding` and `Vary` headers aren't present on the response.