[squid-users] Squid and ICAP using 206 response on reply

johnr johnrefwe at mail.com
Mon Feb 4 18:25:57 UTC 2019


Hi,

I've attempting to use a RESPMOD ICAP in squid to modify the response
headers before they get to my user. I am attempting to use the ICAP 206 code
to be able to do this. 

Everything works fine if the response payload is more than the preview that
my ICAP takes. But, if the max size of the preview is greater than the size
of the response payload, the 206 response does not do anything (and it
basically looks like a 204 where I get back the original response without
any header modification). 

Is this a known fact that if the response is smaller than the max preview
size then 206 is not a valid response? I can't find evidence for that in the
ICAP spec, so I am thinking there's a chance I'm doing something else wrong?
Thank you for any help.



--
Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html


More information about the squid-users mailing list