From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 6LYCE7qNH2ajFgEA62LTzQ:P1 (envelope-from ) for ; Wed, 17 Apr 2024 10:52:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 6LYCE7qNH2ajFgEA62LTzQ (envelope-from ) for ; Wed, 17 Apr 2024 10:52:10 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=XUIZSCQk; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1713343930; a=rsa-sha256; cv=none; b=RM3VJoXi0HDLaNJK/lp1CSrI1tkiKdC04iUqncOkx9XXoqyK7LgcEZ/VeY9OGZs+9dpGtz zoPHSrBY4cj+GrIyCVFfX58Xo716KCS1NaVf+L3OgaOHJ0Q5w0pch0W2IyfUTrmaTDspws t2GMXf78qwDG/1ku6/QSfPnnjMHs703RUpjoYn7SF5u7lxNYusYTFU1bAW+ieLj2tBlYJy /TMZJvgizB3rWpP5nH1w8PgWUzNiHE9CR3DJHYSqCFJ7cIu7qIjEoStma+dNAucP/TuZEr lgcWuuVohAlG4EqhiVzEDJPjz3xpMFYVwb31bm9PUGWdD7oG8dEr0Ql1MAFtRQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=XUIZSCQk; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1713343930; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=P/FcEXzMt+GYtwdFwcUwc/AEALr8B7kIerQ2dfT3EI8=; b=VJnQVv244ovlwhCxXcNpPxqW807L0BVHqCm+GBzWxl4oFBJxgByMhJGaECBkYbuP5bbcru Rub9FpW5+A+lVWCtKVHVFu+Vv1QCZoOf7Hcm7FJghlxA8vqYa02nheY1p1fjPDZJXcKfFa DRKr/kGu5wmXLjM7ikF3ni2YWloSeSX0PKkcMt9k0kmJahCGFOhb30W5dUD6uZMsz+OD5Q hujwV97XyslSWsd+/GKijLNEGj43sP6WOCdkRrjiAN043Y6Vp6YfqTZuogUswa/rvB1WeH 03PXfYtYogjdA/VfxyVzR2yLRSTnzGJp+sqXdb2qdsX2K04ZLhdBJtbyGhq9+Q== 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 CA2F2FEE7 for ; Wed, 17 Apr 2024 10:52:09 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rx11D-0008Kw-SO; Wed, 17 Apr 2024 04:51:51 -0400 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 1rx11B-0008KV-O8 for guix-patches@gnu.org; Wed, 17 Apr 2024 04:51:49 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rx11B-0004Jj-FY for guix-patches@gnu.org; Wed, 17 Apr 2024 04:51:49 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rx11N-0005s2-T1 for guix-patches@gnu.org; Wed, 17 Apr 2024 04:52:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62202] [PATCH v4 6/6] tests: juliahub: Add unit tests for (guix import juliahub). Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 17 Apr 2024 08:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62202 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch moreinfo To: Nicolas Graves Cc: zimoun.toutoune@gmail.com, 62202@debbugs.gnu.org Received: via spool by 62202-submit@debbugs.gnu.org id=B62202.171334389622362 (code B ref 62202); Wed, 17 Apr 2024 08:52:01 +0000 Received: (at 62202) by debbugs.gnu.org; 17 Apr 2024 08:51:36 +0000 Received: from localhost ([127.0.0.1]:45697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rx10v-0005oD-Px for submit@debbugs.gnu.org; Wed, 17 Apr 2024 04:51:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rx10r-0005ni-M7 for 62202@debbugs.gnu.org; Wed, 17 Apr 2024 04:51:31 -0400 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 1rx10Y-0004HL-2v; Wed, 17 Apr 2024 04:51:10 -0400 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=P/FcEXzMt+GYtwdFwcUwc/AEALr8B7kIerQ2dfT3EI8=; b=XUIZSCQk52P2nfL2Wk2+ RPDPxng6J7S9jA3QeZ3OG2junHGDyvnusgBwQb5uq4XsXH0KbgmFMfy0o7SMmP4CJEksmt0+EOtS2 cTXz/AVPWOHz8Nv5ox4U0y+sqFW2p074XdiOpWfq2HFOMknErx96e19Cpo1G7jthQCLsLp0/F0iGp urf5XGCzT/Qn/2YhB5wxA4ZG+EOop1N2tOJslPL5kaSbumA2A/b4U3Zm6EL3iZ3FOEqbbcjV0AnbT 8Jv+hQ2mAFrLf5U3Acmhx4W33JJaHlQVGjLRMzkiY2yRXcTio0k1aSJ4lGk2TvGZ+LLqzN8sqruew VFM13gauL2QwzQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <874jc1nmve.fsf@ngraves.fr> (Nicolas Graves's message of "Tue, 16 Apr 2024 21:11:49 +0200") References: <20240203230807.25751-1-ngraves@ngraves.fr> <20240203230807.25751-6-ngraves@ngraves.fr> <87plv8bye8.fsf@gnu.org> <87bk6jdmdk.fsf@ngraves.fr> <874jc8np51.fsf@ngraves.fr> <875xwhmerp.fsf@gnu.org> <874jc1nmve.fsf@ngraves.fr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 29 Germinal an 232 de la =?UTF-8?Q?R=C3=A9volution, ?= jour de la Myrtille 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: Wed, 17 Apr 2024 10:51:06 +0200 Message-ID: <87mspsjrt1.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: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -7.03 X-Migadu-Queue-Id: CA2F2FEE7 X-Migadu-Spam-Score: -7.03 X-Migadu-Scanner: mx10.migadu.com X-TUID: l1pX9keU5CkY Nicolas Graves skribis: > libgit2, which is behind guile-git, expects this exact header or fails, > with no additional charset field. The sanitize-response function in the > guile web server implementation on its side ensures that a charset field > is added no matter what. > > So indeed we can set > > (content-type . (application/x-git-upload-pack-advertisement)) >=20=20=20=20=20 > but in reality guile-git // libgit2 will read > > (content-type . (application/x-git-upload-pack-advertisement > (charset . "utf-8")) >=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 > and will fail in this case.=20 Oh I see, I had misunderstood that. Note that =E2=80=98sanitize-response=E2=80=99 does not add a =E2=80=98chars= et=E2=80=99 header when BODY is #f or a bytevector. Maybe we could do that? Thanks, Ludo=E2=80=99.