cgit, invalid branches, and HTTP error code


JHBuild has a script that pass over every modules, checking if they
have branched for the stable release; it is currently really trivial,
it checks that$modulename/branches/$branchname
exists (ie doesn't return a 404), and voila.

I was updating it for git, but
both return with HTTP 200.

Could it be changed so that it fails with HTTP 404 ?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]