[squid-users] Squid proxy will forward message with 'alternating host header' but logs another?

Mark Bergman xychix2011 at gmail.com
Thu Oct 31 07:48:37 UTC 2019

Can i stop squid from 'repairing' host headers?
I've been all over this for hours, I can only lead this back to this change
in 1999

I wan't this sample code to do trough squid what it would do without a
proxy at all and i want squid to log the host header set by the sample code.

import requests

proxies = {'http': '',}
headers = {"Host":"someevilhost.appspot.com","Tester":"xychix",}

s = requests.Session()
#### proxy is set OFF
s.proxies = proxies
r = s.get('http://www.google.com/',headers=headers)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20191031/bc9501d5/attachment.html>

More information about the squid-users mailing list