You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Marat Radchenko 844f9a4bd8 Fix /verify LFS handler expecting wrong content-type (#7015)
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
5 years ago
..
LICENSE Git LFS support v2 (#122) 8 years ago
content_store.go Add LFS object verification step after upload (#2868) 7 years ago
locks.go Move sdk structs to modules/structs (#6905) 5 years ago
pointers.go Allow markdown files to read from the LFS (#5787) 5 years ago
server.go Fix /verify LFS handler expecting wrong content-type (#7015) 5 years ago