-
- Downloads
Fix LFS uploads not working with git-lfs 2.5.0
git-lfs 2.5.0 now sets the Content-Type header instead of hard-coding it to application/octet-stream: https://github.com/git-lfs/git-lfs/pull/3137 To avoid this issue, we explicitly tell the client to use application/octet-stream. Closes #49752
parent
e9d04585
No related branches found
No related tags found
Showing
- app/controllers/projects/lfs_api_controller.rb 6 additions, 1 deletionapp/controllers/projects/lfs_api_controller.rb
- changelogs/unreleased/sh-lfs-fix-content-type.yml 5 additions, 0 deletionschangelogs/unreleased/sh-lfs-fix-content-type.yml
- spec/requests/lfs_http_spec.rb 3 additions, 3 deletionsspec/requests/lfs_http_spec.rb
Please register or sign in to comment