mirror of
https://github.com/go-gitea/gitea.git
synced 2024-10-02 02:22:32 +02:00
844f9a4bd8
Fixes #6960 According to [spec][1], /verify requests must have `Accept: application/vnd.git-lfs+json` Previous code works because `git-lfs` also [violates spec and doesn't send any Accept header at all][2] For other clients that DO set `Accept: application/vnd.git-lfs+json`, addition of `Accept: application/vnd.git-lfs` either forces them to violate the spec or is ignored, depending on order in what they create header list. [1]: https://github.com/git-lfs/git-lfs/blob/master/docs/api/basic-transfers.md#verification [2]: https://github.com/git-lfs/git-lfs/issues/3662 |
||
---|---|---|
.. | ||
auth | ||
avatar | ||
base | ||
cache | ||
context | ||
cron | ||
generate | ||
git | ||
gzip | ||
highlight | ||
httplib | ||
indexer | ||
lfs | ||
log | ||
mailer | ||
markup | ||
metrics | ||
migrations | ||
minwinsvc | ||
notification | ||
options | ||
pprof | ||
private | ||
process | ||
public | ||
recaptcha | ||
repofiles | ||
search | ||
secret | ||
session | ||
setting | ||
ssh | ||
structs | ||
sync | ||
templates | ||
test | ||
user | ||
util | ||
validation |