curl / Mailing Lists / curl-library / Single Mail
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?

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!
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)




-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2026-04-13