Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Development Open Discussion (https://www.gnutellaforums.com/development-open-discussion/)
-   -   Returned "available ranges" headers for partially downloaded files (https://www.gnutellaforums.com/development-open-discussion/87004-returned-available-ranges-headers-partially-downloaded-files.html)

arne_bab August 22nd, 2008 04:46 PM

Returned "available ranges" headers for partially downloaded files
 
EDIT: Phex returns the correct headers for files I start to download. The other errors could be because of some problems in my config.

------
Hi,

I am testing coding for Gnutella via Python at the moment, and when trying to download an only partially downloaded file from Phex, I get the following headers:

Server: Phex 3.2.6.106
X-Available-Ranges: bytes

Shouldn't the available ranges header contain the available ranges? Means: If I didn't misunderstand something (and didn't jump to wrong conclusions), it should look like the following:

X-Available-Ranges: bytes=0-1,6-12,90-1200

Where is the error in my thinking?

GregorK August 23rd, 2008 02:17 AM

Phex returns
X-Available-Ranges: bytes
if there is no available range, but to indicate that partial download could be possible.
AFAIK Lime is acting or has been acting the same way.
See HTTPRangeSet.java Line 99


All times are GMT -7. The time now is 11:00 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.