Fix typo when returning 500 error
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 5s

This commit is contained in:
Stephen Seo 2024-09-09 16:59:46 +09:00
parent 952808aefc
commit 615a3e95e5

View file

@ -221,7 +221,7 @@ int main(int argc, char **argv) {
CHECK_ERROR_WRITE(write(connection_fd, response, response_size));
} else {
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, "Content-Type: text/html\n", 24));