get-port-port/headers should not remove status line
This commit is contained in:
parent
7b9da83084
commit
f2e0e0bfeb
|
@ -251,7 +251,7 @@
|
|||
(close-input-port ip)))
|
||||
(values in-pipe
|
||||
(apply string-append (map (λ (x) (string-append x "\r\n"))
|
||||
(reverse headers))))])))
|
||||
(cons status (reverse headers)))))])))
|
||||
|
||||
;; get-pure-port : url [x list (str)] -> in-port
|
||||
(define (get-pure-port url [strings '()] #:redirections [redirections 0])
|
||||
|
|
Loading…
Reference in New Issue
Block a user