Getting "MyIP - - "GET devices HTTP/1.1" 400 172 "-" "-""

I’m running NginX server and sending HTTP requests from cUrl, browser
and
python httplib client.
When I try tosend any request through python httplib client, it is
getting
bad request response but the same request is succeeded with cUrl and
Browser,

Error i’m getting is

MyIP - - [13/Oct/2012:23:17:13 +0530] “GET devices HTTP/1.1” 400 172 “-”
“-”

Regars,
Kumar

Posted at Nginx Forum:

On Oct 13, 2012, at 13:18 , arun wrote:

I’m running NginX server and sending HTTP requests from cUrl, browser and
python httplib client.
When I try tosend any request through python httplib client, it is getting
bad request response but the same request is succeeded with cUrl and
Browser,

Error i’m getting is

MyIP - - [13/Oct/2012:23:17:13 +0530] “GET devices HTTP/1.1” 400 172 “-”
“-”

“devices” is wrong URL, it must start with slash.


Igor S.