Your message dated Fri, 27 Feb 2009 23:53:43 +0000
with message-id <[email protected]>
and subject line LWP does not support Content-Range:
has caused the Debian Bug report #140974,
regarding LWP does not support Content-Range:
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
140974: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=140974
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libwww-perl
Version: 5.64-1
..
a...@gradall:~/brainfood/debhost$ ls dl/Packages.gz -l
-rw-rw-r-- 1 adam adam 819200 Jan 10 09:31 dl/Packages.gz
a...@gradall:~/brainfood/debhost$ ./fetch http://mirror/debian dl
dists/potato/main/binary-i386/Packages.gz
GET http://mirror/debian/dists/potato/main/binary-i386/Packages.gz HTTP/1.1
If-Range: Thu, 10 Jan 2002 15:31:28 GMT
Range: bytes=819200-
HTTP/1.1 206 Partial Content
Connection: close
Date: Tue, 02 Apr 2002 23:49:22 GMT
Accept-Ranges: bytes
ETag: "208002-c9210-3c3db3d0"
Server: Apache/1.3.12 (Unix) Debian/GNU
Content-Encoding: x-gzip
Content-Length: 4624
Content-Range: bytes 819200-823823/823824
Content-Type: text/plain
Last-Modified: Thu, 10 Jan 2002 15:31:28 GMT
Client-Date: Tue, 02 Apr 2002 23:49:57 GMT
Client-Response-Num: 1
a...@gradall:~/brainfood/debhost$ ls dl/Packages.gz -l
-rw-rw-r-- 1 adam adam 4624 Jan 10 09:31 dl/Packages.gz
..
Because of this bug, I have to process the Content-Range myself, and also
write to the file myself. It's so much easier to just have the UserAgent
write to the file.
--- End Message ---
--- Begin Message ---
fixed 140974 5.820-1
thanks
Hi,
the last versions of LWP::UserAgent supports the Content-Range,
see the max_size() method on the manpage
Cheers
Antonio
--- End Message ---