HTTP/1.1 400 Bad Request Problem

"z00zle" <[email protected]> Thu, 02 Oct 2008 11:03:01 -0000
Newsgroups gmane.network.gnutella.devel
Message-ID <[email protected]>
Hello,

i am writing a gnutella client for myself.

When i try to download a file i use the following request:

    GET /get/<fileindex>/<filename> HTTP/1.1
    User-Agent: Gnutella/0.6
    Host: IP:Port
    Connection: Keep-Alive
    Range: bytes=0-

in ~50 percent of cases i get a

"HTTP/1.1 400 Bad Request"

back.

Does someone knows why?

thx