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.
gitea/modules/httplib
wxiaoguang a94a8d0ab1
Use standard HTTP library to serve files (#24693)
`http.ServeFile/ServeContent` handles `If-xxx`, `Content-Length`,
`Range` and `Etag` correctly

After this PR, storage files (eg: avatar) could be responded with
correct Content-Length.
2 years ago
..
request.go Make repository response support HTTP range request (#24592) 2 years ago
serve.go Make repository response support HTTP range request (#24592) 2 years ago
serve_test.go Use standard HTTP library to serve files (#24693) 2 years ago