Buy commercial curl support. We
help you work out your issues, debug your libcurl applications, use the API,
port to new platforms, add new features and more. With a team lead by the
curl founder Daniel himself.
Should libcurl validate HTTP headers?
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Demi Marie Obenour <demiobenour_at_gmail.com>
Date: Sun, 12 Apr 2026 21:50:32 -0400
I'm wondering if libcurl should validate the HTTP headers provided
to it. I know that it currently doesn't, but passing a bad header
is almost certainly an app bug.
If this is a good idea, I might be willing to make a PR. I'm certainly
not expecting the curl maintainers to write the code!
Received on 2026-04-13
Date: Sun, 12 Apr 2026 21:50:32 -0400
I'm wondering if libcurl should validate the HTTP headers provided
to it. I know that it currently doesn't, but passing a bad header
is almost certainly an app bug.
If this is a good idea, I might be willing to make a PR. I'm certainly
not expecting the curl maintainers to write the code!
-- Sincerely, Demi Marie Obenour (she/her/hers)
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html
- application/pgp-keys attachment: OpenPGP public key
- application/pgp-signature attachment: OpenPGP digital signature