Use number->status-code to generate status-code from the code returned

in the CGI header.
This commit is contained in:
mainzelm
2003-01-15 14:02:02 +00:00
parent 06121b3972
commit 7170593056
+1 -1
View File
@@ -264,7 +264,7 @@
(make-redirect-response (string-trim loc)))
;; Send the response header back to the client
(make-response ;code message seconds mime extras body
(car stat) ; code
(number->status-code (car stat))
(cdr stat) ; text
(time)
ctype