in reply to Showing HTTP response headers

Use a proxy to log request and/or response headers. For example HTTP::Proxy.
Boris