nph-responses don't carry a status code so simply guess it to be
(status ok) when generating the log file.
This commit is contained in:
parent
7e274597a4
commit
46f357d47d
|
@ -343,7 +343,7 @@
|
||||||
)
|
)
|
||||||
((nph-response? response)
|
((nph-response? response)
|
||||||
(display-http-body (nph-response-body response) input-port output-port options)
|
(display-http-body (nph-response-body response) input-port output-port options)
|
||||||
(http-log request (response-code response)))
|
(http-log request (status-code ok))); guess the status code
|
||||||
(else
|
(else
|
||||||
(if (not (v0.9-request? request))
|
(if (not (v0.9-request? request))
|
||||||
(send-http-headers response output-port))
|
(send-http-headers response output-port))
|
||||||
|
|
Loading…
Reference in New Issue