Insert MIME type of an URL into Apache's access_log
Solution 1:
You can log any header field that is present in the response, like so: %{HEADER_NAME}o
. In this case, %{Content-Type}o
covers the MIME type as well.
Refer to the Custom Log Formats documentation for details.