Re: [squid-users] squidclient and Host header?

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Sun, 02 Sep 2007 12:48:37 +0200

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

Received on Sun Sep 02 2007 - 04:48:44 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:02 MDT