-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
Describe the bug
When using subresources multipart upload fails with 415, Unsupported Media Type, as http error code.
Expected behavior
File upload works as expected.
Actual behavior
Getting 415, Unsupported Media Type, http status.
How to Reproduce?
Make a main resource and have it expose a subresource that consumes multipart/form-data.
See code-with-quarkus.zip example that reproduces the problem.
Output of uname -a
or ver
Linux LAPTOP-2P262G2R 5.15.167.4-microsoft-standard-WSL2 #1 SMP Tue Nov 5 00:21:55 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Output of java -version
openjdk 21.0.5 2024-10-15 LTS OpenJDK Runtime Environment Temurin-21.0.5+11 (build 21.0.5+11-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.5+11 (build 21.0.5+11-LTS, mixed mode, sharing)
Quarkus version or git rev
3.17.2
Build tool (ie. output of mvnw --version
or gradlew --version
)
Apache Maven 3.9.8 (36645f6c9b5079805ea5009217e36f2cffd34256) Maven home: /home/zipper/.m2/wrapper/dists/apache-maven-3.9.8-bin/337e6d14/apache-maven-3.9.8 Java version: 21.0.5, vendor: Eclipse Adoptium, runtime: /home/zipper/.sdkman/candidates/java/21.0.5-tem Default locale: en, platform encoding: UTF-8 OS name: "linux", version: "5.15.167.4-microsoft-standard-wsl2", arch: "amd64", family: "unix"
Additional information
The bug is also present in earlier versions.