Fix typo when returning 500 error
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 5s
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 5s
This commit is contained in:
parent
952808aefc
commit
615a3e95e5
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ int main(int argc, char **argv) {
|
||||||
CHECK_ERROR_WRITE(write(connection_fd, response, response_size));
|
CHECK_ERROR_WRITE(write(connection_fd, response, response_size));
|
||||||
} else {
|
} else {
|
||||||
CHECK_ERROR_WRITE(write(
|
CHECK_ERROR_WRITE(write(
|
||||||
connection_fd, "HTTP/1.1 404 Not Found\n", 23));
|
connection_fd, "HTTP/1.1 500 Internal Server Error\n", 23));
|
||||||
CHECK_ERROR_WRITE(write(connection_fd, "Allow: GET\n", 11));
|
CHECK_ERROR_WRITE(write(connection_fd, "Allow: GET\n", 11));
|
||||||
CHECK_ERROR_WRITE(write(
|
CHECK_ERROR_WRITE(write(
|
||||||
connection_fd, "Content-Type: text/html\n", 24));
|
connection_fd, "Content-Type: text/html\n", 24));
|
||||||
|
|
Loading…
Reference in a new issue