diff --git a/include/http.h b/include/http.h index 6a7c3f9..474dfbe 100644 --- a/include/http.h +++ b/include/http.h @@ -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 { diff --git a/src/http/http_res_names.c b/src/http/http_res_names.c index d565853..31efe6a 100644 --- a/src/http/http_res_names.c +++ b/src/http/http_res_names.c @@ -88,7 +88,7 @@ const char *http_response_type_names[5][32] = { const char *http_header_names[] = { "Connection", - "Redirect" + "Location" }; // clang-format on