mirror of
https://github.com/allankoechke/httplib-cpp.git
synced 2026-11-29 09:15:26 +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.