# HTTP Range-Unterstützung fehlt, kann den Dateidownload nicht fortsetzen

**URL:** <https://meta.discourse.org/t/http-range-support-missing-cannot-resume-file-download/235636>\
**Category:** Feature\
**Created:** [9. August 2022 um 18:53 UTC](https://meta.discourse.org/t/http-range-support-missing-cannot-resume-file-download/235636 "2022-08-09T18:53:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)\
**Post date:** [9. August 2022 um 20:00 UTC](https://meta.discourse.org/t/http-range-support-missing-cannot-resume-file-download/235636/2 "2022-08-09T20:00:22Z")

</div>

> [@ValdikSS](#):
>
> Der Range-Header wird für Anfragen an `localhost:3000` für `/uploads/short-url/` ordnungsgemäß übergeben, aber Discourse behandelt ihn nicht.

Das wird hier behandelt:

> <https://github.com/discourse/discourse/blob/10a1b6b0a9e07b1652e23c02f55a32b1b607e722/app/controllers/uploads_controller.rb#L287-L303>

Die Unterstützung für Ranges ist definitiv möglich, würde aber die Verwendung von `send_data` beinhalten, das Lesen der Datei von der Festplatte und das Senden des Ranges:

> <https://stackoverflow.com/questions/6759426/rails-media-file-stream-accept-byte-range-request-through-send-data-or-send-file/57786143#57786143>

Ehrlich gesagt, etwas zu unübersichtlich.

---

_[View the full topic](https://meta.discourse.org/t/http-range-support-missing-cannot-resume-file-download/235636)._
