gitea/modules
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
..
analyze
auth
avatar
base
cache
charset
context
convert
cron
emoji
eventsource
generate
git
gitgraph
graceful
highlight
httplib
indexer
lfs Support Range header end in lfs (#11314) 2020-05-11 11:37:59 +03:00
log
markup Prevent 500 with badly formed task list (#11328) 2020-05-11 00:14:49 +01:00
metrics
migrations
notification
options
password
pprof
private
process
public
queue
recaptcha
references
repofiles
repository
secret
session
setting Move LFS directory creation out of NewContext (#11362) 2020-05-10 16:30:46 +03:00
ssh
structs
sync
task
templates
test
timeutil
upload
user
util
validation
webhook