[Top][All Lists]

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

[bug#34807] [PATCH 1/2] Add (guix lzlib).

From: Tobias Geerinckx-Rice
Subject: [bug#34807] [PATCH 1/2] Add (guix lzlib).
Date: Tue, 07 May 2019 01:28:09 +0200


Ludovic Courtès wrote:
So, depending on the client, ‘guix publish’ should return either a narinfo-for-gzip or a narinfo-for-lzip. To make it possible, new clients could send an extra HTTP header, say ‘X-Guix-Compression’, that would specify their preferred compression method(s). ‘guix publish’
would take that into account when replying.

There's a standard[0] HTTP header for that: ‘Accept-Encoding’.

Unfortunately (and for reasons that I cannot fathom), it doesn't use standard MIME types, but pseudostandard strings like ‘gzip’ and ‘br’. We can boldly add ‘lzip’ to that :-)

Similarly, servers can send ‘Content-Encoding’[1] HTTP headers, but I don't see a need for it here.

Kind regards,


[0]: [1]:

Attachment: signature.asc
Description: PGP signature

reply via email to

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