Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: ContentType is not set for multipart file upload in VertxServer #3383

Merged

Conversation

yoskhdia
Copy link
Contributor

Hi.

I am using VertxServerInterpreter.
I did a file upload with multipart and the Part.contentType was set to None and the ContentType of the request was not set.

Since io.vertx.ext.web.FileUpload in Vert.x has a contentType method, I thought I could simply set it if it was valid as MediaType, so I fixed it.

@adamw
Copy link
Member

adamw commented Dec 11, 2023

Thank you!

@adamw adamw merged commit 3b240a7 into softwaremill:master Dec 11, 2023
@yoskhdia yoskhdia deleted the fix-vertx-multipart-content-type branch December 11, 2023 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants