chickadee » spiffy » write-logged-response

write-logged-responseprocedure

This procedure simply writes current-response after calling handle-access-logging. Responses should always go through this procedure instead of directly using write-response from intarweb.

If you have a response body to write, you still need to remember to call finish-response-body (from intarweb) after doing so.