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?
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 27 Jan 2022 09:27:13 +0100 (CET)
Hello,
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...
See: https://github.com/curl/curl/wiki/get-headers
Also possible to discuss in https://github.com/curl/curl/discussions/8335
(again: these are ideas and thoughts, not a final concept)
Date: Thu, 27 Jan 2022 09:27:13 +0100 (CET)
Hello,
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...
See: https://github.com/curl/curl/wiki/get-headers
Also possible to discuss in https://github.com/curl/curl/discussions/8335
(again: these are ideas and thoughts, not a final concept)
-- / daniel.haxx.se | Commercial curl support up to 24x7 is available! | Private help, bug fixes, support, ports, new features | https://curl.se/support.html -- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2022-01-27