.
original commit: 4957335f442567e28eb7397a449e3c3f8c8acbbd
This commit is contained in:
parent
efa9f5ea4e
commit
8b4bc1c7fb
|
@ -403,7 +403,7 @@
|
|||
;; purify-port : in-port -> header-string
|
||||
(define purify-port
|
||||
(lambda (port)
|
||||
(let ([m (regexp-match-peek-positions #rx"^HTTP/.*?((\r\n)|\n|\r)((\r\n)|\n|\r)" port)])
|
||||
(let ([m (regexp-match-peek-positions #rx"^HTTP/.*?((\r\n\r\n)|(\n\n)|(\r\r))" port)])
|
||||
(if m
|
||||
(read-string (cdar m) port)
|
||||
""))))
|
||||
|
|
Loading…
Reference in New Issue
Block a user