pull/5980/head
Stephane Nicoll 9 years ago
parent f3e630933a
commit 3805fc7455

@ -43,7 +43,8 @@ public class HttpEncodingProperties {
private Boolean force; private Boolean force;
/** /**
* Force the encoding to the configured charset on HTTP requests. * Force the encoding to the configured charset on HTTP requests. Defaults to true
* when "force" has not been specified.
*/ */
private Boolean forceRequest; private Boolean forceRequest;

@ -269,7 +269,7 @@ content into your application; rather pick only the properties that you need.
spring.http.encoding.charset=UTF-8 # Charset of HTTP requests and responses. Added to the "Content-Type" header if not set explicitly. spring.http.encoding.charset=UTF-8 # Charset of HTTP requests and responses. Added to the "Content-Type" header if not set explicitly.
spring.http.encoding.enabled=true # Enable http encoding support. spring.http.encoding.enabled=true # Enable http encoding support.
spring.http.encoding.force= # Force the encoding to the configured charset on HTTP requests and responses. spring.http.encoding.force= # Force the encoding to the configured charset on HTTP requests and responses.
spring.http.encoding.force-request= # Force the encoding to the configured charset on HTTP requests (defaults to true when ".force" has not been specified). spring.http.encoding.force-request= # Force the encoding to the configured charset on HTTP requests. Defaults to true when "force" has not been specified.
spring.http.encoding.force-response= # Force the encoding to the configured charset on HTTP responses. spring.http.encoding.force-response= # Force the encoding to the configured charset on HTTP responses.
# MULTIPART ({sc-spring-boot-autoconfigure}/web/MultipartProperties.{sc-ext}[MultipartProperties]) # MULTIPART ({sc-spring-boot-autoconfigure}/web/MultipartProperties.{sc-ext}[MultipartProperties])

Loading…
Cancel
Save