[squid-users] always receiving partial content

From: Donoso Gabilondo, Daniel <donoso.d_at_ikusi.es>
Date: Tue, 14 Apr 2009 18:44:22 +0200

I'm using a linux application that uses squid to cache the objects.
If I ask the objects with wget linux command the objects are cached
well, but with the application it always receives "Partial Content"
I saw that GET headers are different. The application adds to header a
Range attribute (is this the problem?)
 
The application header is this:

GET /Resources/rsc/National/Diapositiva20.JPG HTTP/1.0\r\n
User-Agent: Lavf52.16.0\r\n
Accept: */*\r\n
Range: bytes=0-\r\n
Host: myserver.com:8080\r\n
Authorization: Basic\r\n
Via: 1.1 localhost.localdomain (squid/3.0.STABLE13)\r\n
X-Forwarded-For: 127.0.0.1\r\n
Cache-Control: max-age=0\r\n
Connection: keep-alive\r\n

And the wget header content:

GET /Resources/rsc/National/Diapositiva20.JPG HTTP/1.0\r\n
User-Agent: Wget/1.11.4 (Red Hat modified)\r\n
Accept: */*\r\n
Host: myserver.com:8080\r\n
Via: 1.1 localhost.localdomain (squid/3.0.STABLE13)\r\n
X-Forwarded-For: 127.0.0.1\r\n
Cache-Control: max-age=0\r\n
Connection: keep-alive\r\n

Best regards,
Daniel
Received on Tue Apr 14 2009 - 16:44:29 MDT

This archive was generated by hypermail 2.2.0 : Tue Apr 14 2009 - 12:00:02 MDT