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.
Re: HTTP response header access in curl
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Daniel Stenberg via curl-users <curl-users_at_lists.haxx.se>
Date: Fri, 18 Mar 2022 00:16:26 +0100 (CET)
On Thu, 17 Mar 2022, Timothe Litt via curl-users wrote:
> Duplicated headers are to be interpreted as if a single header with a
> comma-separated list for values.
That doesn't work for some headers. Most notably the quite common Set-Cookie
header.
> 2. Merge all duplicates into a comma separated list
I want to provide the headers as-is, unmodified by curl (excluding trimming
white space from both ends of the value).
Also, I don't want the curl tool to have to know that much HTTP details.
Date: Fri, 18 Mar 2022 00:16:26 +0100 (CET)
On Thu, 17 Mar 2022, Timothe Litt via curl-users wrote:
> Duplicated headers are to be interpreted as if a single header with a
> comma-separated list for values.
That doesn't work for some headers. Most notably the quite common Set-Cookie
header.
> 2. Merge all duplicates into a comma separated list
I want to provide the headers as-is, unmodified by curl (excluding trimming
white space from both ends of the value).
Also, I don't want the curl tool to have to know that much HTTP details.
-- / 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-users Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2022-03-18