diff options
author | burbon <blazej.cegielka@gmail.com> | 2020-05-11 09:37:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 11:37:59 +0300 |
commit | d8e6acda8cfe7e823ce49a20a4587b2641a90bf4 (patch) | |
tree | e5e638c32fcdcbde0a20b22c159a225a696eab97 /modules/log | |
parent | 742e26f5a5dab8768558231cb88801911b9abaa7 (diff) | |
download | gitea-d8e6acda8cfe7e823ce49a20a4587b2641a90bf4.tar.gz gitea-d8e6acda8cfe7e823ce49a20a4587b2641a90bf4.zip |
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>
Diffstat (limited to 'modules/log')
0 files changed, 0 insertions, 0 deletions