Rindle.Delivery.LocalPlug (Rindle v0.1.5)

Copy Markdown View Source

Dev-parity-only local playback Plug for Rindle.Storage.Local.

This Plug exists to give browser playback a correct HTTP path in local development when the storage adapter is Rindle.Storage.Local. It is not the production delivery posture for Rindle; production delivery stays on redirect/native object-store byte serving.

Local responses reuse the same explicit, sanitized filename/disposition policy as redirect delivery by consuming the normalized Rindle.Delivery.ContentDisposition payload.

Telemetry contract:

  • [:rindle, :delivery, :range_request] measurements: %{system_time: integer(), offset: non_neg_integer(), length: pos_integer(), file_size: pos_integer()} metadata: %{profile: module(), adapter: module(), key: String.t(), actor_subject: String.t()}