Forum: NGINX Getting "MyIP - - "GET devices HTTP/1.1" 400 172 "-" "-""

Posted by arun (Guest)
on 2012-10-13 11:18
(Received via mailing list)
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: 
http://forum.nginx.org/read.php?2,231754,231754#msg-231754
Posted by Igor Sysoev (Guest)
on 2012-10-13 11:20
(Received via mailing list)
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 Sysoev
http://nginx.com/support.html
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.