From a8fc38f5654880641d23ea0533a43d69a3d5f8ca Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Fri, 23 Jan 2026 09:26:09 +0000 Subject: [PATCH] Polish "Provide support for adding to the mime types that are compressed" See gh-48930 --- .../src/docs/antora/modules/how-to/pages/webserver.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/webserver.adoc b/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/webserver.adoc index 09f4b0f79fc..e02fe7c0272 100644 --- a/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/webserver.adoc +++ b/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/webserver.adoc @@ -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.