GNU bug report logs - #51133
[PATCH 1/1] Tolerate http response line without reason phrase

Previous Next

Package: guile;

Reported by: Alexey Abramov <levenson <at> mmer.org>

Date: Mon, 11 Oct 2021 07:05:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: jakub-w <at> riseup.net
To: 51133 <at> debbugs.gnu.org
Cc: levenson <at> mmer.org
Subject: bug#51133: [PATCH 1/1] Tolerate http response line without reason phrase
Date: Tue, 12 Oct 2021 12:03:09 +0200
You're right but you didn't address my second point.
The fact that with this patch

(call-with-input-string "HTTP/1.1 \n"
  (lambda (port) (read-response-line port)))

passes the check for 'bad-response error inside read-response-line. It
throws 'bad-header-component from non-negative-integer instead because
d1 is always true if d0 is true.




This bug report was last modified 3 years and 245 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.