]> granicus.if.org Git - apache/commitdiff
A debatable change, to return (an absolute) 404 if some of the extentions
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 7 Aug 2001 00:51:22 +0000 (00:51 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 7 Aug 2001 00:51:22 +0000 (00:51 +0000)
  of every matching file isn't decodable by mod_mime, instead of 500.
  Adopted 404 as the result, per Roy Fielding.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89975 13f79535-47bb-0310-9956-ffa450edef68

modules/mappers/mod_negotiation.c

index 23081b8a16440026826834dc226a4c7eb392df91..02d4fb161e204250d6a8cab4702da7c3b459d91f 100644 (file)
@@ -1076,7 +1076,7 @@ static int read_types_multi(negotiation_state *neg)
                      "Negotiation: discovered file(s) matching request: %s"
                       " (None could be negotiated).", 
                       r->filename);
-        return HTTP_INTERNAL_SERVER_ERROR;
+        return HTTP_NOT_FOUND;
     }
 
     set_vlist_validator(r, r);