Angelo Höngens wrote:
Run this on your squid machine (example, assuming your squid listens on
port 80):
squidclient -p 80 -h apacheserver http://domain/image.jpg | head -n 15
Increase or decrease the 'head -n X' value to show all the headers, but
not to return the binary content.
For future reference, making a HEAD request is probably a better bet...
squidclient -p 80 -h apacheserver -m HEAD http://domain/image.jpg
...as that JUST requests the headers, not the whole object. No need to
filter out unwanted binary data.
Chris