immich is not a compliant byte range server #1053

Closed
opened 2026-02-05 00:12:47 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @uhthomas on GitHub (Jul 3, 2023).

The bug

HTTP ranges have quite a lot of nuance to them. Multiple ranges can be requested at one time for instance.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests

It would be really nice to use a function like ServeContent from Go, though I can't see an equivalent for nestjs/express? Worst case, we should at least make use of the range function.

8fd4edb206/server/src/immich/api-v1/asset/asset.service.ts (L595)

The OS that Immich Server is running on

N/A

Version of Immich Server

v1.65.0

Version of Immich Mobile App

N/A

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

N/A

Your .env content

N/A

Reproduction steps

N/A

Additional information

No response

Originally created by @uhthomas on GitHub (Jul 3, 2023). ### The bug HTTP ranges have quite a lot of nuance to them. Multiple ranges can be requested at one time for instance. https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests It would be really nice to use a function like [ServeContent](https://pkg.go.dev/net/http#ServeContent) from Go, though I can't see an equivalent for nestjs/express? Worst case, we should at least make use of the [range](https://expressjs.com/en/5x/api.html#req.range) function. https://github.com/immich-app/immich/blob/8fd4edb20609a9d5d07c64e53a7c295e59d54793/server/src/immich/api-v1/asset/asset.service.ts#L595 ### The OS that Immich Server is running on N/A ### Version of Immich Server v1.65.0 ### Version of Immich Mobile App N/A ### Platform with the issue - [X] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML N/A ``` ### Your .env content ```Shell N/A ``` ### Reproduction steps ```bash N/A ``` ### Additional information _No response_
OVERLORD added the 🗄️server label 2026-02-05 00:12:47 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1053