From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= Newsgroups: gmane.lisp.guile.devel Subject: Re: [PATCH] web: authorization header scheme should be capitalized Date: Thu, 23 Jun 2022 14:13:41 -0700 Message-ID: References: <20220623202759.3578506-1-aconchillo@gmail.com> <922957d6545149287a6aec7b9d258bf2dd7603ef.camel@telenet.be> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000043883e05e223eeb3" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38680"; mail-complaints-to="usenet@ciao.gmane.io" Cc: guile-devel To: Maxime Devos Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Thu Jun 23 23:14:23 2022 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o4U9f-0009sp-FA for guile-devel@m.gmane-mx.org; Thu, 23 Jun 2022 23:14:23 +0200 Original-Received: from localhost ([::1]:45810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o4U9d-0003WB-Uu for guile-devel@m.gmane-mx.org; Thu, 23 Jun 2022 17:14:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50108) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4U9D-0003W1-Uh for guile-devel@gnu.org; Thu, 23 Jun 2022 17:13:55 -0400 Original-Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]:34318) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4U9C-0003Aw-Cb for guile-devel@gnu.org; Thu, 23 Jun 2022 17:13:55 -0400 Original-Received: by mail-pl1-x629.google.com with SMTP id jh14so352443plb.1 for ; Thu, 23 Jun 2022 14:13:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TywSkda5htFSQsHq3anXbwhb1JmvybiczDZ1hpQE+vs=; b=f7OIfWeep/glh7H1pIl7HpPPwnqArM8oy4pi4XuVLTilLAdUN348Y+8DWiMVU16BNh hF5omf0MrH4vGsm3DSR/F763m7g+zUzF9NhZgrV/ZDnTDh7SMFwKowKbCOpMQUvnzT9H FSenqHLv9U94NgYMK7F9tk3HwH5oaSpTSSoejGYkEP1rjGgvvT5XSJ2QCZJmJV1SOdG+ UewDALhBw+sf0excSsvYTAhwnyIPqSZOIQ+B7boFXI68UO/k31S+ectrxd7cmNJkWNbc YIvGOMGmwaVW+vd4X2njQWG+oyZhbBz9gh015riC8rw0cLg2CkFIM4mYpeswU6ElaeHL 12xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TywSkda5htFSQsHq3anXbwhb1JmvybiczDZ1hpQE+vs=; b=NG7iIgxZ7I54kli+gO9ybB0m/FLkjL49HXXyjzg6hOvQdlG88nilKIe4y3PA0M4esR cUoJyxbC3Z3+s/4eiQ3LlkcfkQvX5PlcJZTPGMH1AhwZJnRbrvSctkgOqi7+X1ggU13C yb0KLAVqQw7kLjsdgwTeK+Eob4iJs4vEfiSW+hDvMYIPfNi5T/Ch/SveMe0c512ndEqf JxIqvedgjRsuzq8oLAYFoqxcRKoIzN7zDkqCGyrzA+XauK+S2If0tj1BdYuHsQlIQ3V+ /NBMUaY8R7iahUT0tTtZELqjzvz88QGviiLv+3ubI9mVWEg63UKK5bl4tdzUsFa2rCml DUkQ== X-Gm-Message-State: AJIora/HQCkKCOxTng0br8GF5g5o1johtZsD3dBTWZi+ozJ77fL1rgDB jiW5M9eiMSPxz3Dx2JpJQLqqX9KjtBRQvVG+zz4= X-Google-Smtp-Source: AGRyM1snQWGHXY3lQ1lO9b2uXQ4vQwrnNBK62AGaAxUQoU58AD3W/Ec9iqWiVNepDCleM4Ehdl2ClpsfygffWc9c0dU= X-Received: by 2002:a17:902:bc4c:b0:16a:4849:ddbe with SMTP id t12-20020a170902bc4c00b0016a4849ddbemr9927392plz.25.1656018832687; Thu, 23 Jun 2022 14:13:52 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::629; envelope-from=aconchillo@gmail.com; helo=mail-pl1-x629.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:21231 Archived-At: --00000000000043883e05e223eeb3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jun 23, 2022 at 1:45 PM Maxime Devos wrote= : > Aleix Conchillo Flaqu=C3=A9 schreef op do 23-06-2022 om 13:42 [-0700]: > > > > [...] > > I think you are right. The spec says clearly that it should be case > > insensitive. > > > > So, disregard this patch. > > TBC, did you encounter problems in the wild that made you write the > patch? > > Yes, and I just posted it here: https://community.spotify.com/t5/Spotify-for-Developers/API-Authorization-h= eader-doesn-t-follow-HTTP-spec/m-p/5397381#M4917 > Also, there's still a potential patch to be had, e.g. you could add a > test checking that Guile properly supports schemes in other cases (if > not done already). > > What do you mean? Aleix --00000000000043883e05e223eeb3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, Jun 23, 2022 at 1:45= PM Maxime Devos <maximedevos@= telenet.be> wrote:
Aleix Conchillo Flaqu=C3=A9 schreef op do 23-06-2022 om 13:42 [-= 0700]:
>
> [...]
> I think you are right. The spec says clearly that it should be case > insensitive.
>
> So, disregard this patch.

TBC, did you encounter problems in the wild that made you write the
patch?


Yes, and I just posted it here:
=
Also, there's still a potential patch to be had, e.g. you could add a test checking that Guile properly supports schemes in other cases (if
not done already).


What do you mean?

A= leix
--00000000000043883e05e223eeb3--