6.7.7 Status code if the request format is invalid
If the request format is invalid, the status code 500 might be returned. The following lists typical examples:
-
A multi-byte character is used in a request line or request header.
-
URL encoding contains an error.
-
The value of a request header is invalid.
-
The size of the message body that must be specified is 0 byte.
-
The message body contains BOM.