This tag should be used to refer to the Range HTTP header
Questions tagged [range-header]
9 questions
5
votes
2 answers
Stream video to Safari from .NET Core
Streaming works well in all browsers except Safari. As I know request should support range header.
Here is the code that I am using:
public async Task GetVideoStream()
{
if…

Alexej Sommer
- 2,677
- 1
- 14
- 25
2
votes
0 answers
Why does Google Chrome makes http request for download with a higher range than the file size and how to handle it?
Update: We found out that this 1 MB kind of range was coming due to our own code only. After making a check for that, the issue got resolved.
We have implemented an Http server and it can serve the file with/without range. We notice that Google…

iammilind
- 68,093
- 33
- 169
- 336
2
votes
1 answer
Recombining large chunked zip download in GO
I am downloading a large .zip file in parallel with Accept-Ranges and Goroutines. The application sends multiple requests to download 10MB chunks of a zip file from a URL using its Range header.
The requests get split up into different ranges as…

savidude
- 73
- 2
- 11
1
vote
1 answer
How to act as a middleman server to add HTTP headers between client and remote server?
I have a server which acts as a middle man between an HTTP client that I don't control and a remote file hosting server I don't control. I want to expose a URL through which the client can download a chunk (specified by HTTP range headers my server…

vroomwaddle
- 11
- 1
1
vote
1 answer
Magnolia: Range request doesn't serve content when cache filter enabled resulting in Facebook Sharing not to work
When sending an HTTP request with a Range header to Magnolia I get a Response with
Content-Length: 0:
curl -I -X GET \
http://localhost:8080/ \
-H 'Accept-Encoding: gzip, deflate' \
-H 'Cache-Control: no-cache'…

puhlerblet
- 113
- 5
0
votes
0 answers
NGINX send bytes range to client with custom headers in request
I want to deploy such a scenario:
Client sends start-index and last-index headers to the nginx. these headers indicate the range of the file the user wants.
Nginx must proxy the request to a file server and get back whole the file.
Nginx should…

Emad Helmi
- 652
- 8
- 25
0
votes
0 answers
Browsers not initiating Range Requests for large files
I want to serve large files (>1GB) over HTTPS. I am trying to use the range headers for this so that when the client (browser) requests the range of bytes, it will be served by the server. I have also put a maximum limit on the range i.e. 1MB.
The…

Pyag
- 1
- 1
0
votes
1 answer
Why would arrayBuffer.slice(0, 2).byteLength == 11?
I'm writing a service worker for a PWA, which handles cached audio files. I'm following this guide to respond correctly to fetches involving range headers, which Safari is very particular about. I have the following function (called from my fetch…

Igid
- 515
- 4
- 15
0
votes
0 answers
Is there any difference in getting bytes range in ByteRangeStreamContent and cutting bytes directly from bytes array
I am wondering if there is any difference in getting bytes range content in ByteRangeStreamContent and getting bytes range directly from bytes array
So basically I want to ask if there is any difference in below two codes, in terms of the result…

Pawan Nogariya
- 8,330
- 12
- 52
- 105