From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Fri, 25 Mar 2005 14:54:51 -0500 From: Russ Cox To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] hget+cookies? In-Reply-To: <5326f7dbab21c5a8f0d3ecdb9bf38723@hamnavoe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <27d136be15e45f513d71144671cc50ef@www3.mail.post.cz> <5326f7dbab21c5a8f0d3ecdb9bf38723@hamnavoe.com> Topicbox-Message-UUID: 2ba3d212-ead0-11e9-9d60-3106f5b1d025 > The webcookies(4) man page says: > > Hget(1) uses /mnt/webcookies/http, when it exists, to manage > cookie state. > > Looking at the source, it appears that hget will pass already existing > cookies to the web server, but won't store any new cookies which the > server provides. Is that what you need? Actually, it will store the new cookies too. In httpheaders, it writes a copy of the received HTTP headers to webcookies, which will cause webcookies to incorporate any new cookies sent from the server (and ignore the other header lines). Russ