On lör, 2007-09-01 at 12:41 +0000, Monty Ree wrote:
> But squidclient doesn't include Host header, so I would like to add Host
> header like below.
>
> squidclient -v -m purge -r -p 80 -h example.com -H 'Host: example.com'
> http://example.com/test.jpg
Try this:
squidclient -v -m purge -r -p 80 -h example.com -H 'Host: example.com\n' http://example.com/test.jpg
Or you can try this patch to squidclient which among other things adds a
Host header to the request:
http://www.squid-cache.org/Versions/v2/HEAD/changesets/11621.patch
Regards
Henrik
This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:02 MDT