mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-24 18:29:03 +00:00
Polish "Provide support for adding to the mime types that are compressed"
See gh-48930
This commit is contained in:
@@ -205,7 +205,8 @@ By default, responses are compressed only if their content type is one of the fo
|
||||
* `application/json`
|
||||
* `application/xml`
|
||||
|
||||
You can configure this behavior by setting the configprop:server.compression.mime-types[] property.
|
||||
To configure the mime types that will be compressed, replacing the defaults, set the configprop:server.compression.mime-types[] property.
|
||||
To keep the defaults and configure additional mime types, set the configprop:server.compression.additional-mime-types[] property instead.
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user