From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alexey Abramov via "Bug reports for GUILE, GNU's Ubiquitous Extension Language" Newsgroups: gmane.lisp.guile.bugs Subject: bug#51133: [PATCH 1/1] Tolerate http response line without reason phrase Date: Tue, 12 Oct 2021 10:26:22 +0200 Message-ID: <875yu2r6mp.fsf@delta.lan> References: <20211011070355.20408-1-levenson@mmer.org> <87h7dmhdts.fsf@riseup.net> Reply-To: Alexey Abramov Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25754"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 51133@debbugs.gnu.org To: jakub-w@riseup.net Original-X-From: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Tue Oct 12 10:27:37 2021 Return-path: Envelope-to: guile-bugs@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 1maD8L-0006Wk-4y for guile-bugs@m.gmane-mx.org; Tue, 12 Oct 2021 10:27:37 +0200 Original-Received: from localhost ([::1]:58814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1maD8I-0006g6-Q3 for guile-bugs@m.gmane-mx.org; Tue, 12 Oct 2021 04:27:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57864) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maD7m-0006fS-0W for bug-guile@gnu.org; Tue, 12 Oct 2021 04:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50134) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1maD7l-0003Mu-OJ for bug-guile@gnu.org; Tue, 12 Oct 2021 04:27:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1maD7l-0007LA-LG for bug-guile@gnu.org; Tue, 12 Oct 2021 04:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alexey Abramov Original-Sender: "Debbugs-submit" Resent-CC: bug-guile@gnu.org Resent-Date: Tue, 12 Oct 2021 08:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51133 X-GNU-PR-Package: guile X-GNU-PR-Keywords: patch X-Debbugs-Original-Cc: bug-guile@gnu.org, 51133@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163402721928208 (code B ref -1); Tue, 12 Oct 2021 08:27:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Oct 2021 08:26:59 +0000 Original-Received: from localhost ([127.0.0.1]:33447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maD7j-0007Ko-2J for submit@debbugs.gnu.org; Tue, 12 Oct 2021 04:26:59 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:33944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1maD7h-0007Kf-GX for submit@debbugs.gnu.org; Tue, 12 Oct 2021 04:26:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maD7h-0006cM-1x for bug-guile@gnu.org; Tue, 12 Oct 2021 04:26:57 -0400 Original-Received: from mail.mmer.org ([178.22.65.174]:48656) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1maD7f-0002IG-0I for bug-guile@gnu.org; Tue, 12 Oct 2021 04:26:56 -0400 Original-Received: from mail.mmer.org (localhost [127.0.0.1]) by mail.mmer.org (OpenSMTPD) with ESMTP id 0df0b4c9; Tue, 12 Oct 2021 08:26:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=mmer.org; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=dkim; bh=dCS+DbC+T5ajNgl//e+T4CcF7pe4vKdHKFyU4b bKJWs=; b=McGm5sSzpAclcwkWlCPwIi3cGWqGKBYQLaFBUmRqIT/ATQi9g+LKI6 a+vP4kVqxB3pJ10A70QKeO+J9EcYhhWhNYUd3oI1fU6G+DjUeoXBrEAB95XT59PL DdpKoD7j7BxM5qjdvpPG0ffxhu4sPOdV0KoIcMlmRZ8AoSpDrVd48= Original-Received: from delta.lan (j74182.upc-j.chello.nl [24.132.74.182]) by mail.mmer.org (OpenSMTPD) with ESMTPSA id 42a4b399 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Tue, 12 Oct 2021 08:26:44 +0000 (UTC) In-Reply-To: <87h7dmhdts.fsf@riseup.net> (jakub-w@riseup.net's message of "Tue, 12 Oct 2021 10:01:03 +0200") Received-SPF: pass client-ip=178.22.65.174; envelope-from=levenson@mmer.org; helo=mail.mmer.org 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guile@gnu.org List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane-mx.org@gnu.org Original-Sender: "bug-guile" Xref: news.gmane.io gmane.lisp.guile.bugs:10189 Archived-At: Hi, I agree that it is not a complient http response, but unfortunately I came across with some http services (redfish, cimc from Cisco ), where they don't put a reason phrase. As you can see the difference is that response line doesn't have a space after the response code, that is why it raise an exception even though the documentation says 'and the (possibly empty) "reason phrase"'. I would call it as a follow up to f53145d41. -- Alexey