Change demo status line message to not use : lol
parent
0330ff80ff
commit
2733153826
|
@ -79,7 +79,7 @@ enum socket_result serve_one_request(int sock_fd) {
|
|||
struct http_message message = {};
|
||||
get_all_remote_parts(client_fd, TYPE_SERVER, &message);
|
||||
printf("%s\n", message.contents);
|
||||
char *msg = "HTTP/1.1 501 Not Imlemented Yet :(\r\n\r\n";
|
||||
char *msg = "HTTP/1.1 501 Not Imlemented Yet ;p\r\n\r\n";
|
||||
send(client_fd, msg, strlen(msg), 0);
|
||||
shutdown(client_fd, SHUT_RDWR);
|
||||
close(client_fd);
|
||||
|
|
Loading…
Reference in New Issue