Skip to content

Conversation

@BowieDu
Copy link
Contributor

@BowieDu BowieDu commented May 24, 2025

When the file type in the command object is MultipartFile, an HTTP status code 400 will be returned. Should it be FilePart instead?

When the file type in the command object is `MultipartFile`, an HTTP status code 400 will be returned. Should it be `FilePart` instead?

Signed-off-by: dujiabao <[email protected]>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label May 24, 2025
@rstoyanchev rstoyanchev self-assigned this May 27, 2025
@rstoyanchev rstoyanchev added in: web Issues in web modules (web, webmvc, webflux, websocket) type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels May 27, 2025
@rstoyanchev rstoyanchev added this to the 6.2.8 milestone May 27, 2025
Copy link
Contributor

@rstoyanchev rstoyanchev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed on the WebFlux side it's not MultipartFile but implementations of org.springframework.http.codec.multipart.Part.

@rstoyanchev rstoyanchev changed the title Update multipart-forms.adoc Correct sample in multipart-forms.adoc May 27, 2025
rstoyanchev pushed a commit that referenced this pull request May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: web Issues in web modules (web, webmvc, webflux, websocket) type: task A general task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants