1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-10 14:00:21 +02:00

Merge from stable-2.2

This commit is contained in:
Andy Wingo 2019-08-02 15:21:53 +02:00
commit 66c0c6c70f

View file

@ -230,7 +230,7 @@ and then close it. Return the drained input as a string."
(string-append
"^(OPTIONS|GET|HEAD|POST|PUT|DELETE|TRACE|CONNECT) "
"[^ ]+ "
"HTTP/[0-9]+.[0-9]+$"))))
"HTTP/[0123456789]+.[0123456789]+$"))))
(lambda (line)
"Return true if LINE might plausibly be an HTTP request-line,
otherwise return #f."