diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-09-23 14:52:44 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-09-23 14:52:44 +0000 |
commit | 4a4bd72e3d2f7b165677435f3656a5034e8342d9 (patch) | |
tree | aed194e23e83ced70d795995b3ee1cd58cdf1c04 /src | |
parent | 166697ec1274c39641c4eb1a477de29b3991f356 (diff) | |
download | tipidee-4a4bd72e3d2f7b165677435f3656a5034e8342d9.tar.gz tipidee-4a4bd72e3d2f7b165677435f3656a5034e8342d9.tar.xz tipidee-4a4bd72e3d2f7b165677435f3656a5034e8342d9.zip |
transfer codings are case insensitive too
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/tipideed/tipideed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tipideed/tipideed.c b/src/tipideed/tipideed.c index 11d67f4..b5e1ea3 100644 --- a/src/tipideed/tipideed.c +++ b/src/tipideed/tipideed.c @@ -456,7 +456,7 @@ int main (int argc, char const *const *argv, char const *const *envp) x = tipidee_headers_search(&hdr, "Transfer-Encoding") ; if (x) { - if (strcmp(x, "chunked")) exit_400(&rql, "unsupported Transfer-Encoding") ; + if (strcasecmp(x, "chunked")) exit_400(&rql, "unsupported Transfer-Encoding") ; else tcoding = TIPIDEE_TRANSFERCODING_CHUNKED ; } else |