nginx-0.3.40-RELEASE import

    *) Feature: the ngx_http_dav_module supports the MKCOL method.

    *) Feature: the "create_full_put_path" directive.

    *) Feature: the "$limit_rate" variable.
diff --git a/src/http/ngx_http_parse.c b/src/http/ngx_http_parse.c
index c843177..11c1632 100644
--- a/src/http/ngx_http_parse.c
+++ b/src/http/ngx_http_parse.c
@@ -89,6 +89,14 @@
                         r->method = NGX_HTTP_HEAD;
                     }
 
+                } else if (p - m == 5) {
+
+                    if (m[0] == 'M' && m[1] == 'K'
+                        && m[2] == 'C' && m[3] == 'O' && m[4] == 'L')
+                    {
+                        r->method = NGX_HTTP_MKCOL;
+                    }
+
                 } else if (p - m == 6) {
 
                     if (m[0] == 'D' && m[1] == 'E' && m[2] == 'L'