Correct error message in make-http-response.
This commit is contained in:
parent
6d6f34ae78
commit
10ca480e4c
|
@ -266,7 +266,7 @@
|
||||||
(display "Error in SUrflet output: no valid data.\n" out))
|
(display "Error in SUrflet output: no valid data.\n" out))
|
||||||
))))
|
))))
|
||||||
(make-error-response (status-code internal-error) #f
|
(make-error-response (status-code internal-error) #f
|
||||||
"The SUrflet returned an invalid response object (no surflet-response)."))))
|
"The SUrflet returned an invalid response object (wrong data type in surflet-response)."))))
|
||||||
((and (response? response) ;; RESPONSE? refers to a HTTP-RESPONSE.
|
((and (response? response) ;; RESPONSE? refers to a HTTP-RESPONSE.
|
||||||
(redirect-body? (response-body response)))
|
(redirect-body? (response-body response)))
|
||||||
response)
|
response)
|
||||||
|
|
Loading…
Reference in New Issue