Always lowering both http field names in search

This commit is contained in:
2020-12-27 19:36:48 +01:00
parent 885ec2226f
commit 1733ad3c1d
4 changed files with 23 additions and 24 deletions

View File

@ -164,7 +164,7 @@ void http_free_res(http_res *res);
int http_receive_request(sock *client, http_req *req);
char *http_get_header_field(const http_hdr *hdr, const char *field_name, int strict);
char *http_get_header_field(const http_hdr *hdr, const char *field_name);
void http_add_header_field(http_hdr *hdr, const char *field_name, const char *field_value);