fix: wrong header name

c-web-server
Jef Roosens 2023-05-29 18:15:48 +02:00
parent 095f86ad72
commit acbe8dc314
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
2 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@ typedef enum http_response_type {
typedef enum http_header {
http_header_connection = 0,
http_header_redirect = 1
http_header_location = 1
} http_header;
typedef struct http_response_header {

View File

@ -88,7 +88,7 @@ const char *http_response_type_names[5][32] = {
const char *http_header_names[] = {
"Connection",
"Redirect"
"Location"
};
// clang-format on