aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.c b/http.c
index 71a872e..5c4626b 100644
--- a/http.c
+++ b/http.c
@@ -790,7 +790,7 @@ static int process_header(struct http_ctx *const h, const char *const line,
const struct header *const hdr = &headers[i];
int ret;
- if (!strncmp(line, hdr->header, n) && (ret = hdr->f(h, value)))
+ if (!strncasecmp(line, hdr->header, n) && (ret = hdr->f(h, value)))
return ret;
}