[squid-users] usage of etag
fansari
nabil1385 at gmail.com
Fri Sep 6 14:34:10 UTC 2019
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
More information about the squid-users
mailing list