httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/mappers mod_negotiation.c
Date Tue, 07 Aug 2001 00:51:22 GMT
wrowe       01/08/06 17:51:22

  Modified:    modules/mappers mod_negotiation.c
  Log:
    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.
  
  Revision  Changes    Path
  1.71      +1 -1      httpd-2.0/modules/mappers/mod_negotiation.c
  
  Index: mod_negotiation.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/mappers/mod_negotiation.c,v
  retrieving revision 1.70
  retrieving revision 1.71
  diff -u -r1.70 -r1.71
  --- mod_negotiation.c	2001/08/06 22:44:38	1.70
  +++ mod_negotiation.c	2001/08/07 00:51:22	1.71
  @@ -1076,7 +1076,7 @@
   		      "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);
  
  
  

Mime
View raw message