From: William A. Rowe Jr Date: Tue, 7 Aug 2001 00:51:22 +0000 (+0000) Subject: A debatable change, to return (an absolute) 404 if some of the extentions X-Git-Tag: 2.0.23~37 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=56cee9cd08b409ca9bfe04527032b140a4af5cea;p=apache A debatable change, to return (an absolute) 404 if some of the extentions 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 --- diff --git a/modules/mappers/mod_negotiation.c b/modules/mappers/mod_negotiation.c index 23081b8a16..02d4fb161e 100644 --- a/modules/mappers/mod_negotiation.c +++ b/modules/mappers/mod_negotiation.c @@ -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);