Nginx, WebDAV and tmp

Want to have a WebDAV mountable temporary file storage? Supporting Windows? With the following hack overriding PROPPATCH it works for me:

server {
	...

	location /tmp {
        alias /var/www/tmp;
        autoindex on;

        if ($request_method = PROPPATCH) { # Unsupported, allways return OK.
            add_header Content-Type 'text/xml';
            return     207 '<?xml version="1.0"?><a:multistatus xmlns:a="DAV:"><a:response><a:propstat><a:status>HTTP/1.1 200 OK</a:status></a:propstat></a:response></a:multistatus>';
        }

        dav_methods PUT DELETE MKCOL COPY MOVE;
        dav_ext_methods PROPFIND OPTIONS LOCK UNLOCK;
        dav_ext_lock zone=tmp;
        dav_access user:rw group:rw all:rw;

        client_max_body_size 0;
        create_full_put_path on;
        client_body_temp_path /tmp/;

        open_file_cache off;
	}
}