mirror of
https://github.com/nginx/nginx.git
synced 2025-08-06 14:56:15 +08:00
axe useless code
This commit is contained in:
parent
ab325357f9
commit
0ce17d2b5b
@ -354,12 +354,6 @@ ngx_http_dav_delete_handler(ngx_http_request_t *r)
|
||||
return NGX_HTTP_UNSUPPORTED_MEDIA_TYPE;
|
||||
}
|
||||
|
||||
rc = ngx_http_discard_request_body(r);
|
||||
|
||||
if (rc != NGX_OK) {
|
||||
return rc;
|
||||
}
|
||||
|
||||
ngx_http_map_uri_to_path(r, &path, &root, 0);
|
||||
|
||||
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0,
|
||||
|
Loading…
Reference in New Issue
Block a user