-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
MultipartError
always has HTTP status of 500
#2573
Comments
@mxcl conforming Closing this issue since it relates to the
|
I have to disagree that the default behavior of a web server should be to misreport status codes, but that’s up to you. Certainly as a user the idea that I have to manually go through every single Error type in Vapor and decide how they should be reported is intimidating. Thanks. |
I agree with @mxcl on this one - it's the equivalent of returning a 500 error when failing on |
Since
MultipartError
does not conform toAbortable
(or whatever) it always reports 500, which is incorrect IMO.It seems to me all should be 400s apart from the
nesting
one.This is for decoding submitted multipart data of course.
The text was updated successfully, but these errors were encountered: