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.
forgejo/modules/public
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.
1 year ago
..
mime_types.go Implement FSFE REUSE for golang files (#21840) 2 years ago
public.go Use standard HTTP library to serve files (#24693) 1 year ago
public_bindata.go Implement FSFE REUSE for golang files (#21840) 2 years ago
public_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
serve_dynamic.go Use a general approach to access custom/static/builtin assets (#24022) 1 year ago
serve_static.go Use a general approach to access custom/static/builtin assets (#24022) 1 year ago