summaryrefslogtreecommitdiff
path: root/src/tipideed
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-09-23 14:52:44 +0000
committerLaurent Bercot <ska@appnovation.com>2023-09-23 14:52:44 +0000
commit4a4bd72e3d2f7b165677435f3656a5034e8342d9 (patch)
treeaed194e23e83ced70d795995b3ee1cd58cdf1c04 /src/tipideed
parent166697ec1274c39641c4eb1a477de29b3991f356 (diff)
downloadtipidee-4a4bd72e3d2f7b165677435f3656a5034e8342d9.tar.xz
transfer codings are case insensitive too
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tipideed')
-rw-r--r--src/tipideed/tipideed.c2
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