New answers tagged github
There is a nodejs project that implements this: https://github.com/Glavin001/GitLab-Pages
Well, 404 should be used when the resource do not exist, is not that you're not authorized, it is not there at all. 403 should be for forbidden resources, regardless you're authenticated, you might not have permission over a given resource. I rather 401 for resources that are found but requires some sort of authentication to get it. IMO
Personally I think this is justified. By returning a 403 instead, Github would be confirming that a repository with that name exists, which in itself could be seen as a security hole (or at least undesirable). As a contrived example, imagine that these repositories existed: http://github.com/valve/HalfLife http://github.com/valve/HalfLife2 If one day ...
Top 50 recent answers are included