Fwd: Server response without body for URL '/ H'?

Sirsiwal, Umesh usirsiwal at verivue.com
Thu Jul 14 04:44:12 MSD 2011




For any URL with pattern ' H', the nginx server sends an error response
without a header.

The following is an example:

-Umesh

umesh at umesh-desktop:~$ curl -vvv 'http://nginx.net/ H'
* About to connect() to nginx.net<http://nginx.net> port 80 (#0)
*   Trying 206.251.255.63... connected
* Connected to nginx.net<http://nginx.net> (206.251.255.63) port 80 (#0)
 > GET / H HTTP/1.1
 > User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0
OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18
 > Host: nginx.net<http://nginx.net>
 > Accept: */*
 >
<html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx/1.0.0</center>
</body>
</html>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-devel/attachments/20110713/eb46467c/attachment.html>


More information about the nginx-devel mailing list