aboutsummaryrefslogtreecommitdiff
path: root/examples/put/main.c
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2026-02-27 12:30:45 +0100
committerXavier Del Campo Romero <xavi92@disroot.org>2026-02-27 16:28:52 +0100
commitd783e794c2fa6a9e6bffff9f41cdb7e8033bf3c3 (patch)
treedd7d835b79db8d9ed1c5cdfdbc82f8f3d694ba95 /examples/put/main.c
parentfca0679e438e1cf8a3db9047f57d3b2363ab417e (diff)
Add http_strncasecmp(3)
POSIX.1-2008 does not any locale-specific version of strncasecmp(3), so conversions to lowercase depend on the system locale. Since HTTP header fields must be checked without case sensitivity and not depend on the system locale, a specialised function that forces the "POSIX" locale is required.
Diffstat (limited to 'examples/put/main.c')
0 files changed, 0 insertions, 0 deletions