Re: HTTP/1.1 400 Bad Request Problem

"Atomical" <[email protected]> Mon, 13 Oct 2008 14:49:57 -0000
Newsgroups gmane.network.gnutella.devel
Message-ID <[email protected]>
I'm also writing a client.  What language are you writing your client in?

--- In [email protected], "z00zle" <z00zle@...> wrote:
>
> 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
>