1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-13 21:54:24 +00:00
gitea/modules/lfs
burbon d8e6acda8c
Support Range header end in lfs (#11314)
* Initial support of end Range header option in lfs

* Allow end range option to be unspecified

* Declare toByte for consistency

* Factor out content encoding tests from doLfs

This is so Range tests could still use doLfs but without repeating
not related tests

* Add Range header test

* implemented extraHeader
* parametrized expectedStatus

* Add more test cases of Range header

* Fix S1030: should use resp.Body.String()

* Add more tests for edge cases

* Fix tests

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
2020-05-11 11:37:59 +03:00
..
content_store.go Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
LICENSE Git LFS support v2 (#122) 2016-12-26 09:16:37 +08:00
locks.go Multiple LFS improvements (#10667) 2020-03-09 19:56:18 +00:00
pointers.go Allow markdown files to read from the LFS (#5787) 2019-02-12 15:09:43 +00:00
server.go Support Range header end in lfs (#11314) 2020-05-11 11:37:59 +03:00