]> source.dussan.org Git - gitea.git/commit
LFS: Return 404 for unimplemented endpoints (#1330)
authorFabian Zaremba <fabian@youremail.eu>
Mon, 20 Mar 2017 08:40:20 +0000 (09:40 +0100)
committerLunny Xiao <xiaolunwen@gmail.com>
Mon, 20 Mar 2017 08:40:20 +0000 (16:40 +0800)
commit5586445207ac1e9b0abfba1829d326076023bd34
tree27cf6c756038e734a7d5f1df459f5f8e61398cfd
parent9182a35f18b6d5cd981486852028e670984145c3
LFS: Return 404 for unimplemented endpoints (#1330)

Without this patch a 401 is returned for unspecified endpoints, making
the LFS client ask for HTTP credentials. This behaviour was introduced
with the new locking API:

https://github.com/git-lfs/git-lfs/blob/master/docs/api/locking.md
cmd/web.go