`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 年之前 | |
---|---|---|
.. | ||
httpcache.go | Use standard HTTP library to serve files (#24693) | 1 年之前 |
httpcache_test.go | Use standard HTTP library to serve files (#24693) | 1 年之前 |