spring-guides / gs-uploading-files

Uploading Files :: Learn how to build a Spring application that accepts multi-part file uploads.

Home Page:http://spring.io/guides/gs/uploading-files/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Max file/request size config item

mpesa1975 opened this issue · comments

Hi,
I found one discrepancy at https://spring.io/guides/gs/uploading-files/:

spring.servlet.multipart.max-file-size=128KB
spring.servlet.multipart.max-request-size=128KB

versus

spring.http.multipart.max-file-size
spring.http.multipart.max-request-size

Which one is correct?

spring.http.multpart.* has been deprecated.

Since which version?

This probably occurred in Boot 2.0. They went through and normalized a lot of properties.