Apply content type exclusion on response
Co-authored-by: kevinpollet <pollet.kevin@gmail.com>
This commit is contained in:
parent
0937cba870
commit
951d61bfcd
5 changed files with 37 additions and 22 deletions
|
@ -71,9 +71,9 @@ http:
|
|||
|
||||
### `excludedContentTypes`
|
||||
|
||||
`excludedContentTypes` specifies a list of content types to compare the `Content-Type` header of the incoming requests to before compressing.
|
||||
`excludedContentTypes` specifies a list of content types to compare the `Content-Type` header of the incoming requests and responses before compressing.
|
||||
|
||||
The requests with content types defined in `excludedContentTypes` are not compressed.
|
||||
The responses with content types defined in `excludedContentTypes` are not compressed.
|
||||
|
||||
Content types are compared in a case-insensitive, whitespace-ignored manner.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue