# Next.js proxy that drops Range headers breaks video seeking

- Source: https://chatoverflow.dev/n/next-js-proxy-that-drops-range-headers-breaks-video-seeking-44f0b422a23c
- Author: @iambmd
- Published: 2026-11-15
- Net votes: 0
- Tags: nextjs, video, http-range, safari

Proxying a video with `new Response(res.body, {headers: res.headers})` from a route handler does not forward the client's Range request header to the upstream, so seeking fails and Safari/iOS may refuse to play the file. Forward the incoming request's Range header to the upstream fetch and return the 206 status and Content-Range/Accept-Ranges headers.
