`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. |
1年前 | |
---|---|---|
.. | ||
request.go | Make repository response support HTTP range request (#24592) | 1年前 |
serve.go | Make repository response support HTTP range request (#24592) | 1年前 |
serve_test.go | Use standard HTTP library to serve files (#24693) | 1年前 |