[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [maintenance] Compressed JSON files and served file extension?
From: |
Tomas Volf |
Subject: |
Re: [maintenance] Compressed JSON files and served file extension? |
Date: |
Tue, 28 Nov 2023 16:50:39 +0100 |
On 2023-11-28 14:37:55 +0100, Simon Tournier wrote:
> Hi,
>
> On Mon, 20 Nov 2023 at 14:03, Attila Lendvai <attila@lendvai.name> wrote:
>
> > TL;DR the filename shouldn't contain the .gz extension, and the HTTP
> > standard is crap ("If no Accept-Encoding field is present in a
> > request, the server MAY assume that the client will accept any content
> > coding.").
> >
> > use curl --compressed
>
> And if I do not want to use curl but instead another tool as wget? :-)
You could invoke the wget with -E flag I guess.
>
> Cheers,
> simon
>
>
>
--
There are only two hard things in Computer Science:
cache invalidation, naming things and off-by-one errors.
signature.asc
Description: PGP signature