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