boot.dev lesson answers for the course: Learn Memory Management in C
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#pragma once |
|
|
|
typedef enum { |
|
HTTP_BAD_REQUEST = 400, |
|
HTTP_UNAUTHORIZED = 401, |
|
HTTP_NOT_FOUND = 404, |
|
HTTP_TEAPOT = 418, |
|
HTTP_INTERNAL_SERVER_ERROR = 500 |
|
} http_error_code_t; |
|
|
|
char* http_to_str(http_error_code_t code);
|
|
|