Add support for Range Header in repository/media api endpoint #10176

Open
opened 2025-11-02 09:00:18 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @tionis on GitHub (Jan 29, 2023).

Feature Description

The api endpoint /api/v1/repos/$OWNER/$REPO/media/some/path allows the GETing of the raw contents of a file.
This endpoint does however not support the Range Header which would be needed for some streaming applications.

Screenshots

No response

Originally created by @tionis on GitHub (Jan 29, 2023). ### Feature Description The api endpoint /api/v1/repos/$OWNER/$REPO/media/some/path allows the GETing of the raw contents of a file. This endpoint does however not support the [Range Header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range) which would be needed for some streaming applications. ### Screenshots _No response_
GiteaMirror added the topic/apitype/proposaltype/feature labels 2025-11-02 09:00:18 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#10176