Search squid archive

Re: squidclient and Host header?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux