Re: [squid-users] mangle ranges using ICAP

2016-12-05 Thread Alfredo Rezinovsky
On 05/12/16 00:29, Alex Rousskov wrote: On 12/04/2016 03:05 PM, Alfredo Rezinovsky wrote: Let say a client asks for a URL using a range: 0-256000. I want squid to ask just for 10.000 bytes and answer as if the request was server side aborted. I can change the request Range: "bytes=0-256000" t

Re: [squid-users] mangle ranges using ICAP

2016-12-04 Thread Alex Rousskov
On 12/04/2016 03:05 PM, Alfredo Rezinovsky wrote: > Let say a client asks for a URL using a range: 0-256000. > > I want squid to ask just for 10.000 bytes and answer as if the request > was server side aborted. > > I can change the request Range: "bytes=0-256000" to "bytes=0-1" with > and ica

Re: [squid-users] mangle ranges using ICAP

2016-12-04 Thread Amos Jeffries
On 5/12/2016 11:05 a.m., Alfredo Rezinovsky wrote: > Let say a client asks for a URL using a range: 0-256000. > > I want squid to ask just for 10.000 bytes and answer as if the request was > server side aborted. > > I can change the request Range: "bytes=0-256000" to "bytes=0-1" with > and ic

[squid-users] mangle ranges using ICAP

2016-12-04 Thread Alfredo Rezinovsky
Let say a client asks for a URL using a range: 0-256000. I want squid to ask just for 10.000 bytes and answer as if the request was server side aborted. I can change the request Range: "bytes=0-256000" to "bytes=0-1" with and icap server In the answer I'm trying to change the Content-Range