git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] http: Add http.savecookies option to write out HTTP cookies

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 23, 2013, 22:27 UTC
Message-ID
<7vk3kg7vzj.fsf@alter.siamese.dyndns.org>
In-Reply-To
<1374613676-20889-1-git-send-email-dborowitz@google.com>
dborowitz@google.com writes:
Show 10 quoted lines
> From: Dave Borowitz <dborowitz@google.com>
>
> HTTP servers may send Set-Cookie headers in a response and expect them
> to be set on subsequent requests. By default, libcurl behavior is to
> store such cookies in memory and reuse them across requests within a
> single session. However, it may also make sense, depending on the
> server and the cookies, to store them across sessions. Provide users
> an option to enable this behavior, writing cookies out to the same
> file specified in http.cookiefile.
> ---
Makes sense.

I briefly wondered if users want to be able to selectively store cookies only from certain sites but not from others. But if we are going to build this on top of Kyle J. McKay's "Per URL http.<url>.* configuration" series, that will fall out as a natural consequence, I think.

Please sign-off your patch.  Thanks.
Previous: dborowitz@google.comNext: dborowitz@google.com
Message 2 of 3 in “http: Add http.savecookies option to write out HTTP cookies”
  1. http: Add http.savecookies option to write out HTTP cookiesdborowitz@google.com, Jul 23, 2013
  2. Junio C HamanoJul 23, 2013
  3. http: Add http.savecookies option to write out HTTP cookiesdborowitz@google.com, Jul 23, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.