From: Peter Colberg Date: Tue, 8 Dec 2015 17:53:09 +0000 (-0500) Subject: ui-repolist: return HTTP 404 if no repositories found X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/9abe4a26a92b91170cb9c5dab830b40fb1e0327f?ds=inline;hp=9abe4a26a92b91170cb9c5dab830b40fb1e0327f ui-repolist: return HTTP 404 if no repositories found Return HTTP status code 404 Not found when querying a non-existent repository, which signals to search engines that a repository no longer exists. Further, some webservers such as nginx permit logging requests to different files depending on the HTTP code. Signed-off-by: Peter Colberg ---