Internal Server Error is what is in RFC 2616/7231.
-HTTP/1.0 500 Server Error\r
+HTTP/1.0 500 Internal Server Error\r
Cache-Control: no-cache\r
Connection: close\r
Content-Type: text/html\r
\r
-<html><body><h1>500 Server Error</h1>
+<html><body><h1>500 Internal Server Error</h1>
An internal server error occured.
</body></html>
static struct hlua_mem_allocator hlua_global_allocator;
static const char error_500[] =
- "HTTP/1.0 500 Server Error\r\n"
+ "HTTP/1.0 500 Internal Server Error\r\n"
"Cache-Control: no-cache\r\n"
"Connection: close\r\n"
"Content-Type: text/html\r\n"
"\r\n"
- "<html><body><h1>500 Server Error</h1>\nAn internal server error occured.\n</body></html>\n";
+ "<html><body><h1>500 Internal Server Error</h1>\nAn internal server error occured.\n</body></html>\n";
/* These functions converts types between HAProxy internal args or
* sample and LUA types. Another function permits to check if the
"<html><body><h1>429 Too Many Requests</h1>\nYou have sent too many requests in a given amount of time.\n</body></html>\n",
[HTTP_ERR_500] =
- "HTTP/1.0 500 Server Error\r\n"
+ "HTTP/1.0 500 Internal Server Error\r\n"
"Cache-Control: no-cache\r\n"
"Connection: close\r\n"
"Content-Type: text/html\r\n"
"\r\n"
- "<html><body><h1>500 Server Error</h1>\nAn internal server error occured.\n</body></html>\n",
+ "<html><body><h1>500 Internal Server Error</h1>\nAn internal server error occured.\n</body></html>\n",
[HTTP_ERR_502] =
"HTTP/1.0 502 Bad Gateway\r\n"