forgejo/models
ThetaDev e80f8ff69f fix artifact range requests ()
I noticed that Forgejo does not allow HTTP range requests when downloading artifacts. All other file downloads like releases and packages support them.

So I looked at the code and found that the artifact download endpoint uses a simple io.Copy to serve the file contents instead of using the established `ServeContentByReadSeeker` function which does take range requests into account.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4218
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: ThetaDev <thetadev@magenta.de>
Co-committed-by: ThetaDev <thetadev@magenta.de>
2024-07-10 05:28:01 +00:00
..
actions Drop IDOrderDesc for listing Actions task and always order by id DESC () 2024-06-02 16:26:54 +02:00
activities Fix web notification icon not updated once you read all notifications () 2024-06-29 07:33:37 +02:00
admin
asymkey
auth
avatars
db [Refactor] Unify repo search order by logic () 2024-06-16 13:42:58 +02:00
dbfs Enable unparam linter () 2024-06-16 13:42:58 +02:00
fixtures fix artifact range requests () 2024-07-10 05:28:01 +00:00
forgefed enhance test & fix reviews 2024-05-14 08:24:31 +02:00
forgejo/semver
forgejo_migrations fix review 2024-05-29 18:31:06 +02:00
git Add tag protection via rest api () 2024-06-16 13:42:59 +02:00
issues Optimization of labels handling in issue_search () 2024-06-28 05:11:57 +00:00
migrations Fix the possible migration failure on 286 with postgres 16 () 2024-06-02 16:26:54 +02:00
organization
packages
perm
project Rename project board -> column to make the UI less confusing () 2024-06-02 09:42:39 +02:00
pull
repo Add support for workflow_dispatch () 2024-06-28 05:17:11 +00:00
secret
shared/types
system
unit Rename project board -> column to make the UI less confusing () 2024-06-02 09:42:39 +02:00
unittest
user Performance improvements for pull request list API () 2024-06-02 16:26:54 +02:00
webhook
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go
org_team_test.go
org_test.go
repo.go
repo_test.go
repo_transfer.go
repo_transfer_test.go