View Single Post
  #1 (permalink)  
Old August 22nd, 2008
arne_bab's Avatar
arne_bab arne_bab is offline
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default 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?
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.

Last edited by arne_bab; August 22nd, 2008 at 05:44 PM.
Reply With Quote