bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] Standard cookie file extension


From: Tim Rühsen
Subject: Re: [Bug-wget] Standard cookie file extension
Date: Wed, 23 Oct 2019 16:42:38 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

On 10/23/19 3:49 PM, Peng Yu wrote:
> Hi, I am wondering if there is a standard cookie file extension for
> cookie files written by wget. So far, I only see filenames like
> cookie.txt cookies.txt. So the extension is just .txt. But .txt is not
> a specific extension for cookie files. I'd like an extension dedicated
> to cookie files for disambignuity purposes. Thanks.
> 

The first browser that "invented" a cookies file was Netscape Navigator
and it used cookies.txt.
That's not a real "standard", but comes pretty close.

The 'file' command recognizes
# HTTP Cookie File
in the first line as
"Web browser cookie, ASCII text"

But it's case-sensitive, so that it does not recognize cookies.txt
written by Wget.

Tim

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]