mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-09 12:53:18 +00:00
The access log took $body_bytes_sent from res.body, which stays empty for a static file because it is sent by a content provider. Every file was logged as 0 bytes. Use the Content-Length of the response instead, and 0 for HEAD.