than a 400 where r->path_info is not empty for a file; a valid but
unsatisfiable request to a path which cannot exist,
e.g. /dav/foo.txt/blah where /dav/foo.txt is not a directory.
Github: closes #465
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1919580 13f79535-47bb-0310-9956-
ffa450edef68
{
/*
** The base of the path refers to a file -- nothing should
- ** be in path_info. The resource is simply an error: it
+ ** be in path_info. The resource cannot exist: it
** can't be a null or a locknull resource.
*/
- return dav_new_error(r->pool, HTTP_BAD_REQUEST, 0, 0,
+ return dav_new_error(r->pool, HTTP_NOT_FOUND, 0, 0,
"The URL contains extraneous path "
"components. The resource could not "
"be identified.");