-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
multipart/mixed is not supported #6196
Comments
Every version of Jetty since 7.6.13 has thrown that exception (9 years ago). From commit - 7da85a2 This was done for 2 reasons.
|
This is likely a bug in The fact that tomcat supports this is wrong on two counts (against the servlet spec, and against the multipart spec). |
@joakime thanks for the quick and detailed response, I'll poke around Spring's |
Spring have accepted this as a bug, so I'll close this issue. Thanks again @joakime ! |
Where does it say that? It only deprecated the type inside form-data for multiple files with the same name. |
@pke Do you have a specific use-case that expects to see a multipart/mixed request body that needs to be accesses as Parts via the servlet API? |
@pke since the Servlet spec doesn't support The Simply put The only remaining usecases for Btw, |
Jetty version
9.4.31.v20200723
Description
I think I remember this working in earlier version of jetty, and I found an issue reported here that mentions multipart/mixed.
#2813
So I guess the question is what happened?
And the request that generated this error:
The actual part contents have been omitted here.. but the headers should be correct. This works against Tomcat for what it's worth.
The text was updated successfully, but these errors were encountered: