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.

Re: Get cookies for specific URL

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Tue, 24 Sep 2019 16:23:06 +0200 (CEST)

On Tue, 24 Sep 2019, Hölzl, Dominik via curl-library wrote:

> get all cookies for a specific URL?

No, we don't provide such an API. Yet. Maybe we should? Ideas on how it would
look like?

> CURLINFO_COOKIELIST/Curl_cookie_list skips cookies without domain property
> as stated in the docs, so this may be a difference when using
> CURLINFO_COOKIELIST and doing the matching to the given URL like
> Curl_cookie_getlist externally?

Cookies can only be set without a domain by the application anyway, as no
"real" cookies from HTTP traffic can be set without a domain property so that
little detail usually doesn't matter.

-- 
  / daniel.haxx.se | Get the best commercial curl support there is - from me
                   | Private help, bug fixes, support, ports, new features
                   | https://www.wolfssl.com/contact/

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-09-24