When try to upload large files it correctly fails, but with a status code inconsistency between HTTP code and Json error description.
As you can see from this screenshot, HTTP status code is set to 400 while the error code is 431: Request Header Fields Too Large. I think that HTTP status code should be set to 431 too. (I've noticed this bug because I'm used to check HTTP status code to show errors in front end).
Hi, I think this is another small bug in total4, I've this route rule which limit file upload to 1MB:
When try to upload large files it correctly fails, but with a status code inconsistency between HTTP code and Json error description.
As you can see from this screenshot, HTTP status code is set to
400
while the error code is431: Request Header Fields Too Large
. I think that HTTP status code should be set to431
too. (I've noticed this bug because I'm used to check HTTP status code to show errors in front end).Thanks!