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: Alexey Abramov <levenson <at> mmer.org>
To: jakub-w <at> riseup.net
Cc: 51133 <at> debbugs.gnu.org
Subject: bug#51133: [PATCH 1/1] Tolerate http response line without reason phrase
Date: Tue, 12 Oct 2021 16:35:29 +0200
[Message part 1 (text/plain, inline)]
jakub-w <at> riseup.net writes:

> 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)))

I see, my bad, thanks! Please find a newly attached patch.

I added a test for such a case, but I am not sure about the indentation
though. Please let me know what you think.

-- 
Alexey

[0001-http-Tolerate-http-response-line-without-a-reason-ph.patch (text/x-patch, attachment)]

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.