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