From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Aur=C3=A9lien_Aptel?= Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Add parser for Netscape/Mozilla cookie file format Date: Mon, 9 Oct 2017 11:12:53 +0200 Message-ID: References: <20171006143448.8560-1-aaptel@suse.com> <837ew4snw3.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1507540387 6244 195.159.176.226 (9 Oct 2017 09:13:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 9 Oct 2017 09:13:07 +0000 (UTC) Cc: Aurelien Aptel , Emacs development discussions To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 09 11:13:02 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1U7N-0000GB-5E for ged-emacs-devel@m.gmane.org; Mon, 09 Oct 2017 11:12:57 +0200 Original-Received: from localhost ([::1]:56799 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1U7U-0006VG-A7 for ged-emacs-devel@m.gmane.org; Mon, 09 Oct 2017 05:13:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1U7N-0006V8-QK for emacs-devel@gnu.org; Mon, 09 Oct 2017 05:12:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1U7M-00063h-Rk for emacs-devel@gnu.org; Mon, 09 Oct 2017 05:12:57 -0400 Original-Received: from mail-pf0-x236.google.com ([2607:f8b0:400e:c00::236]:46028) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1U7L-00062g-76; Mon, 09 Oct 2017 05:12:55 -0400 Original-Received: by mail-pf0-x236.google.com with SMTP id z84so13182983pfi.2; Mon, 09 Oct 2017 02:12:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=2M+BjXLJOC836M27esaCMmbBf2nGknJBTD8BEaCaESE=; b=j6ropWLMKhYDKg3WB5dIdSE/6ukdmYVbv9AnUIQUr67+6fpAVLYh19z625z5bWx/5K 4nheg/HDZor22oL+96T4427/gfVnFLtHv/WRPJPFFq2KdAeLf097T1RBamQ7avyZfxPD ZwGaM5WQCj69RQCjo6Y36nALwA20i/pWOqP/8PD/3T/ZWSQB7R58dE1BB6rzVSRPTxwu DZjRkre8SoFrZ2F330zoMBp5+JI03q/+OJuJTvs7LX4ZEnbnkwwUG6fojmgoQrVouOk7 BTTi8SdtulKQuxOBTPDjpm2iD/O0t0ZGojZuQt2VZOAmfMF10GFifPwa1DZAfkRwb0uS vOuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=2M+BjXLJOC836M27esaCMmbBf2nGknJBTD8BEaCaESE=; b=k4OLc7/FxK9vPShOwaMbHz3b6EB4jdvR/iuXt9ob55ZRRsPVWShODn5y6mSOq2JJKl ENL3LG9fwsq09VrUnlJjNqZq+oZ9Y6w1tMfb8hj/cZHRoHeLd0SVy7F0Je/Qe7ks5YCF gLsw/gjgSZfsVY2AwxkKo7IXe9YZXO2GCcH9IHvjSufuqbkPgJTLHs1HRHxpI1Y5bHKn nGY8JcNMwsecXh3t4GmLibtErMglB2Glkklq3Ky8Gko5bI88/aXkCUrGS3W6eRnb5Krh oikQpqiGtNT6G+acMqHiF4EAVzRfWvdboFRNAMWr6uiJSIBhbhv0sZOOvlC5YBbt2Bs+ 4jPQ== X-Gm-Message-State: AMCzsaXjEhD058+GiaRU0BRvkzvWrD0T7ua6qTQquYBwj3ony6DFWHAC eHQpzwMSKEkaB2ySOFv/NAeYzxxKtalPcs/V5k5L+A== X-Google-Smtp-Source: AOwi7QBwTJWiDyalTMuKvaA4fbLsFsLei1KuyCBWdWsSg7t5YVOgR2qzH/bjViYqRCWsAkSsdG/gRWS4kVV0j91nIY0= X-Received: by 10.84.238.203 with SMTP id l11mr8503651pln.194.1507540374140; Mon, 09 Oct 2017 02:12:54 -0700 (PDT) Original-Received: by 10.100.150.129 with HTTP; Mon, 9 Oct 2017 02:12:53 -0700 (PDT) In-Reply-To: <837ew4snw3.fsf@gnu.org> X-Google-Sender-Auth: XscOq3bNIZ-i79TR2FCnXL4Ap8I X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::236 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:219294 Archived-At: On Mon, Oct 9, 2017 at 10:53 AM, Eli Zaretskii wrote: > Is this format still used nowadays? E.g., on my system the cookies > are stored in an SQLite db, not a text file. It's the closest thing we have to a standard I think. It's accepted by wget, curl, lynx, w3m, ... In fact it's the only format they know how to parse & generate IIUC. Also implemented by various programming language libs, including python [1]. 1: https://docs.python.org/3.3/library/http.cookiejar.html?highlight=cookie#file-cookie-jar-classes