From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yDUvKdiwwmKECgEAbAwnHQ (envelope-from ) for ; Mon, 04 Jul 2022 11:20:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sIkRKNiwwmJ5YQEA9RJhRA (envelope-from ) for ; Mon, 04 Jul 2022 11:20:24 +0200 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 6F1743AE6D for ; Mon, 4 Jul 2022 11:20:24 +0200 (CEST) Received: from localhost ([::1]:42744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o8IFj-0007Vi-Go for larch@yhetil.org; Mon, 04 Jul 2022 05:20:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8IFS-0007VT-FX for guix-devel@gnu.org; Mon, 04 Jul 2022 05:20:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49910) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8IFS-0002sg-6S; Mon, 04 Jul 2022 05:20:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=s2lbdIw3nnFVUxrbRHEpubxqEAUNxPjnS2KnZkugj4w=; b=M4lmzyWs9zLeniS8c6FE p8SPXsh7BiG8dtDrBugOx1sPW6kx1vO8apf7FA+z25RsBu0bxD8z2DDm6SeD0U1Y8DPgqaie6QdWJ mVAarxSzARfk6h/eMChT168KnE333rpXp6soocT/EwchhiqsamAyj73S0QoaHdGJmbiL+Puud0CBM 25fJlwO2kNF/EfScuFcR8nMiaLHFvbwzc6rKi/ufvmnfAK8bT8wTcsuDkJq+LKkPJCb8QbZBiyt6l VwVGpMulq41AGaVULYuRsd9EIbL/Z/mHXOBVocZhGo9WBovLS5zDNl/Hyj2NwC7QSlIT48NsSiF2t 0Fq4uF6kSEZmEg==; Received: from [193.50.110.235] (port=44032 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o8IFP-00032o-Rb; Mon, 04 Jul 2022 05:20:05 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Aleix Conchillo =?utf-8?Q?Flaqu=C3=A9?= Cc: guix-devel@gnu.org, Maxime Devos Subject: Re: [PATCH] web: send capitalized authorization header scheme References: <20220624163453.29859-1-aconchillo@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Sextidi 16 Messidor an 230 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour du Tabac 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: Mon, 04 Jul 2022 11:20:02 +0200 In-Reply-To: <20220624163453.29859-1-aconchillo@gmail.com> ("Aleix Conchillo =?utf-8?Q?Flaqu=C3=A9=22's?= message of "Fri, 24 Jun 2022 09:34:53 -0700") Message-ID: <87tu7xfd4t.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656926424; 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=s2lbdIw3nnFVUxrbRHEpubxqEAUNxPjnS2KnZkugj4w=; b=k5aDKORG3ah9lsgA8ElbGlxoII55Wh5vdmoQNrdSDmFK0teTRgHzRPAAI5GWh1MneB085q 85hd+4mBPNmtw+YyGRmYoPxC5xcxDPPrCWfT8llm2k98m/ET2OMMc4DuZ20Y4USMf4GA11 GuWb5riLHOt9BGKZRaImLQLN6s3QPtI7Tk/G91W9rZHl5jx3FSGWasLvIU7zovj8ny55CY XWm0kjrJpnLMGMH3VPLIBdiczpXyuUj0SAb9F/5KN0OMOxtSxJYUbSWncTrzjYYUj3zIlR f/2QP+lOugYaPBfqA8qdwBXWkWSayvhyaVXGJyi3vRlQt2JmOC6S0sfzGqeEJw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656926424; a=rsa-sha256; cv=none; b=W49Tljkpyi7QFfcL2y+tmrjwrLoSOrCBl9e2kpsq+tBSSHMc4WA0A5pll/LSwpKiUjQsJ6 focnbBKzdDCFZPcTZWg3idxiAUkvBLt95BjvXxEHyoY7BGWiI2GvFNx40pOxIY3lmQ5miR TJtX1Jsd+7OcVW/BrTOr1h8WqrsO8zeRxnxn0azJ4+wk/ezJ181Db9m187iNJnJxnSpeYb 5/uxHaj7gwGF5oLA9LIqbLk9l2aS1sAwOASzkPgQeGVIty05KA4pVvmrGAb900cGrA5JkX 1RyHxdUcDgHXyX4sjG/grAJNORjjwzz4/VQi5yqO2bIZ6osp+Nf5jkJO5HQNLQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=M4lmzyWs; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -7.64 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=M4lmzyWs; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 6F1743AE6D X-Spam-Score: -7.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZoSyXYJ5j03g Hola, Aleix Conchillo Flaqu=C3=A9 skribis: > * module/web/http.scm (write-credentials): capitalize authorization > header scheme. The standard allows the scheme to be case-insensitive, > however most libraries out there expect the scheme to be capitalized, > which is what it is actually used in RFC > docs (e.g. https://datatracker.ietf.org/doc/html/rfc7617#section-2). Some > libraries even reject lowercase scheme making Guile incompatible. > --- > module/web/http.scm | 14 ++++++++++++-- > test-suite/tests/web-http.test | 11 ++++++++--- > 2 files changed, 20 insertions(+), 5 deletions(-) Applied, thanks! Ludo'.