curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. 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 himself.

An API for extracing (HTTP) headers?

From: Daniel Stenberg via curl-library <>
Date: Thu, 27 Jan 2022 09:27:13 +0100 (CET)


Every now and then libcurl-using application authors ask for an API to help
them extract contents of specific HTTP response headers. There are many
libcurl-using applications and there are many of those that need to extract
header contents, so providing a generic and single way to do this might make
the world a tiny bit better and save a lot of people from duplicating that
extra work.

Maybe the time is ripe to consider adding functions for this? But if so, how
would they work?

I jotted down my initial thoughts, but I would really appreciate some feedback
from you who actually have this need/use case to learn what you think an API
like this truly needs...


Also possible to discuss in

(again: these are ideas and thoughts, not a final concept)

  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
Received on 2022-01-27