get-port-port/headers should not remove status line

This commit is contained in:
Jay McCarthy 2012-08-02 06:54:25 -06:00
parent 7b9da83084
commit f2e0e0bfeb

View File

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