[Top][All Lists]

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

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

From: Ludovic Courtès
Subject: [bug#34807] [PATCH 1/2] Add (guix lzlib).
Date: Tue, 07 May 2019 10:19:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Tobias Geerinckx-Rice <address@hidden> skribis:

> 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 :-)

Well, that’s why I thought about using a new header.  :-)


reply via email to

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