nginx does not sent the response headers but only response body on 400 bad request. e.g. $ nc 127.0.0.1 80 GET HTTP/1.0 <html> <head><title>400 Bad Request</title></head> <body bgcolor="white"> <center><h1>400 Bad Request</h1></center> <hr><center>nginx/0.9.1</center> </body> </html>by xiezhenye - Nginx Mailing List - English
The response of http dav module on mkcol request has a problem. The "Location" header has a '\0' . This will cause some client wait to timeout. e.g. Location: http://localhost/path/created\0\r\n I found in "ngx_http_dav_mkcol_handler" , after remove the tail '/' , it does not reduse the length of the uri. patch: *** ngx_http_dav_module.c.bak 2009-09-28 15:00:59by xiezhenye - Nginx Mailing List - English