correct a minor issue with header parsing
This commit is contained in:
@@ -29,8 +29,8 @@
|
||||
(let ([header (read-line c-in 'return-linefeed)])
|
||||
(define-values (status meta)
|
||||
(let ([status-meta (string-split header " ")])
|
||||
(values (list-ref status-meta 0)
|
||||
(list-ref status-meta 1))))
|
||||
(values (car status-meta)
|
||||
(string-join (cdr status-meta)))))
|
||||
|
||||
(cond
|
||||
[(> (string-length status) 2)
|
||||
|
Reference in New Issue
Block a user