From: Junio C Hamano Date: Tue, 23 Jul 2013 22:27:28 GMT Subject: Re: [PATCH] http: Add http.savecookies option to write out HTTP cookies Message-ID: <7vk3kg7vzj.fsf@alter.siamese.dyndns.org> In-Reply-To: <1374613676-20889-1-git-send-email-dborowitz@google.com> dborowitz@google.com writes: > From: Dave Borowitz > > 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..* configuration" series, that will fall out as a natural consequence, I think. Please sign-off your patch. Thanks.