correct a minor issue with header parsing

This commit is contained in:
2025-09-01 16:43:05 -07:00
parent 71c840d687
commit 836477902c

View File

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