forgejo/routers
wxiaoguang a94a8d0ab1
Use standard HTTP library to serve files ()
`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.
2023-05-13 16:04:57 +02:00
..
api Add Alpine package registry () 2023-05-12 17:27:50 +00:00
common Make repository response support HTTP range request () 2023-05-09 15:34:36 +08:00
install Improve template system and panic recovery () 2023-05-04 14:36:34 +08:00
private Refactor web route () 2023-04-20 14:49:06 -04:00
utils Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
web Use standard HTTP library to serve files () 2023-05-13 16:04:57 +02:00
init.go Use globally shared HTMLRender () 2023-04-30 08:22:23 -04:00