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


Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: jakub-w <at> riseup.net
To: bug-guile <at> gnu.org
Cc: 51133 <at> debbugs.gnu.org, Alexey Abramov <levenson <at> mmer.org>
Subject: Re: bug#51133: [PATCH 1/1] Tolerate http response line without
 reason phrase
Date: Tue, 12 Oct 2021 10:01:03 +0200
I don't think the reason phrase is optional, even though it can be just
a whitespace.
Even if I'm not mistaken, however, I don't see the reason for Guile not
to be able to parse the status line without a space at the end.

Aside from that consider a string "HTTP/1.1 ", which should be a bad
response because the status code should definitely be obligatory,
however it passes through the (and d0 d1) check after applying this
patch.




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

Previous Next


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