We need a name to tell it's us
This commit is contained in:
+3
-3
@@ -46,9 +46,9 @@ enum HttpError {
|
|||||||
/* Returned parser errors match this LUT. */
|
/* Returned parser errors match this LUT. */
|
||||||
static const std::string_view httpErrorResponses[] = {
|
static const std::string_view httpErrorResponses[] = {
|
||||||
"", /* Zeroth place is no error so don't use it */
|
"", /* Zeroth place is no error so don't use it */
|
||||||
"HTTP/1.1 505 HTTP Version Not Supported\r\n\r\n<h1>505 HTTP Version Not Supported</h1>",
|
"HTTP/1.1 505 HTTP Version Not Supported\r\n\r\n<h1>505 HTTP Version Not Supported</h1><i>uWebSockets</i>",
|
||||||
"HTTP/1.1 431 Request Header Fields Too Large\r\n\r\n<h1>431 Request Header Fields Too Large</h1>",
|
"HTTP/1.1 431 Request Header Fields Too Large\r\n\r\n<h1>431 Request Header Fields Too Large</h1><i>uWebSockets</i>",
|
||||||
"HTTP/1.1 400 Bad Request\r\n\r\n<h1>400 Bad Request</h1>"
|
"HTTP/1.1 400 Bad Request\r\n\r\n<h1>400 Bad Request</h1><i>uWebSockets</i>"
|
||||||
};
|
};
|
||||||
|
|
||||||
/* We require at least this much post padding */
|
/* We require at least this much post padding */
|
||||||
|
|||||||
Reference in New Issue
Block a user