Problem was the --head option.
For real downloading it works.
ETAG='ed52a4-16cb8852696'
curl --header 'if-none-match: W/'\"${ETAG}\" --cacert ${CERT} --proxy
${PROXY} --proxy-insecure --insecure ${URL} > ${FILE}
With correct ETag the download is an emtpy file (TCP_INM_HIT/304).
With incorrect ETag the content is downloaded into the file
(TCP_MEM_HIT/200).
--
Sent from:
http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html
_______________________________________________
squid-users mailing list
[email protected]
http://lists.squid-cache.org/listinfo/squid-users