On 9/06/2016 5:06 a.m., Yuri Voinov wrote: > > Ok, Amos. > > How to correctly normalize headers? > > I.e., to strip User-Agent, for example? Normalize what and how exactly? it differs by header. Stripping UA header from outbound traffic is done with request_header_access. (hint: not reply_...). Though note that there are servers out there which wil either crash, or produce an error page rejecting the request if a UA is absent or not a browser agent string. Right now Squid code has a class for each specially handled header. Which parses, normalizes, and prints for output the header value(s). Most headers unrelated to proxying (such as User-Agent) are handled as opaque string blobs. Adding normalization for them would be difficult right now. The best option at present would be an eCAP module. Amos _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx http://lists.squid-cache.org/listinfo/squid-users