From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EKBCAwAqVmVfBgEA9RJhRA:P1 (envelope-from ) for ; Thu, 16 Nov 2023 15:41:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EKBCAwAqVmVfBgEA9RJhRA (envelope-from ) for ; Thu, 16 Nov 2023 15:41:04 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DD22955169 for ; Thu, 16 Nov 2023 15:41:03 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=JndCmgvV; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700145663; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=CL0Ki3MVvEF5wr/elxCGPHdSPKb341vyshHTrgE0/40=; b=pGfyLSfgVCC16Dirl4p+8GSFOq/2j8VGGqT0zi47woI/KJCKQ3iaaPt5TfhCmjpDJMuw87 s3MCRvIM6bcFQLvDO6Bh45/uOMd0ZPGUja+Whottt4dy5lYTS+vndgUVp4+fsVof/teYRr NkVPetelxGo45Or3Fd2qhcxCxAHy6hCeHjJ7OEL8/HaSf7SWtJgxftErb6PK3sLIWNkox3 eK33txt6fgKd4zbdSv5fJlaHVho9rsHMuYwik0nWsaxhyC5Bt/au3CBFW0Das6paSz0/bl oZijOZhMF9qo5dt65SJ/tpXZwdAL9DuhE4yXaw6n9EHZVimSqLJPN1OQ/kfBoQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=JndCmgvV; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700145663; a=rsa-sha256; cv=none; b=m5itvQTaRk2uqqhfhYwVfGrkP/2N0B7gQ50nBQAh+mISBncxim86Tda8fu9kJDep8a8zQE jdFYRW3iE89v4KI2A4LbXM0fdsNh6gJN2ZoHKvfer64mpwP4TVFHoDwYQsBNhGWja7t1Wp m4/mnWlDUJgi+/3sMlQMED9PK/CqGn+6PL0Ekm/WYFmngnhsPt2+B7zSGUJBd32peTAzY5 FkZlte57ClYu4qosEWmGnSIynTb8+doMZLutVareVhCoUjZXLS0iaGvisGym5gaxIjCijz Q9+hrUI/zWbrv5AOF1BrUtLkr5s261QJXQSm/K3PQyA0us6k8xiAqr9gju/vDg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r3dXs-0000Z6-9c; Thu, 16 Nov 2023 09:40:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3dXq-0000Yx-9J for guix-devel@gnu.org; Thu, 16 Nov 2023 09:40:38 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r3dXp-00021U-5j; Thu, 16 Nov 2023 09:40:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=CL0Ki3MVvEF5wr/elxCGPHdSPKb341vyshHTrgE0/40=; b=JndCmgvV2yid0qJ9kJCE lfuPqXQuIiXlOw7Yh65JY0fagM2niZvGAZ587t8PrMzeVIjKXaJNDxFIACHr3UHtRocWNFFaUE0bw x/cP9zcHqHn+VJqYEpFux3fWQcZO9JGVSZs6OtxEQVEwK2XsGgP7PLBfZoPp4KJk6eEjJkltsDzKO Q/chRca+WScLv9CJhvAucn/VIVCKVCZIPYblS5PoH75xao8c9qFxbs1q34LOvUO0RduBvWDmSMv9M fbHu+HyMETI12juSBRIVJIIjzlTqRWCymE65uwIbO5+YXcUPrVzHWp23W+zDZwH6OInOtiF68I6+g UrDRSuGdwzjiKQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Tournier Cc: Guix Devel Subject: Re: [maintenance] Compressed JSON files and served file extension? In-Reply-To: <861qe03rtj.fsf@gmail.com> (Simon Tournier's message of "Thu, 12 Oct 2023 15:15:20 +0200") References: <861qe03rtj.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 26 Brumaire an 232 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour de la Pistache X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 16 Nov 2023 15:40:34 +0100 Message-ID: <87jzqhwyl9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.83 X-Spam-Score: -9.83 X-Migadu-Queue-Id: DD22955169 X-Migadu-Scanner: mx13.migadu.com X-TUID: XLBV4IT0IzIC Simon Tournier skribis: > However, now I get: > > $ wget https://guix.gnu.org/sources.json If you open it in a browser though, it=E2=80=99s fine, because browsers and= in fact many HTTP clients other than wget, honor =E2=80=98Content-Encoding=E2= =80=99: --8<---------------cut here---------------start------------->8--- $ wget -O/dev/null --debug https://guix.gnu.org/sources.json [...] ---response begin--- HTTP/1.1 200 OK Server: nginx Date: Thu, 16 Nov 2023 14:38:04 GMT Content-Type: application/json Content-Length: 2670848 Connection: keep-alive Content-Encoding: gzip Expires: Thu, 16 Nov 2023 17:38:04 GMT Cache-Control: max-age=3D10800 Content-Security-Policy: frame-ancestors 'none' --8<---------------cut here---------------end--------------->8--- [...] > Well, it will break some consumers of packages.json and sources.json. > To my knowledge, for sources.json at least, the only consumer is SWH and > it appears to me easy to keep them in touch. :-) It shouldn=E2=80=99t break consumers, their client will just transparently decompress the stream (I checked with #swh-devel back then just in case). That said, if you become aware of actual breakage, we can revisit this! Thanks, Ludo=E2=80=99.