Finding out content type before logging process:

Engin Akyol emakyol at gmail.com
Thu Mar 22 03:17:08 UTC 2012


Hey guys!

I need to know if there's a way to find out the content type of content
going through the proxy before the logging process.

I can use $upstream_http_content_type for logging the information, but I
need to access the value before outputting the page to the browser. The
http_content_type and send_http_content_type variables mentioned on the
Proxy page are empty.

Thanks in advance,

Engin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120321/22faa921/attachment.html>


More information about the nginx mailing list