Fork me on GitHub
#off-topic
<
2024-02-15
>
Ian Fernandez17:02:48

Anyone here knows a good test CDN that accepts Ranged Request for downloading a sample video?

p-himik18:02:48

Not really a CDN but IIRC AWS S3 supports ranged requests.

Ian Fernandez18:02:28

I’ve tried internet archive that uses s3 and does not support it

Ian Fernandez18:02:46

I want to download a sample and small video and do some tests

p-himik18:02:13

Does Internet Archive actually expose the S3 URLs?

p-himik18:02:36

And is it AWS S3 or some other S3 implementation?

Ian Fernandez18:02:09

Would you have any sample video example link for this ?

p-himik18:02:20

I'm asking because I've done some tests like 6 years ago, and I'm pretty sure AWS S3 did support range requests. But maybe my memory fails me here.

1
Ian Fernandez18:02:41

I’ll try it once I get back to computer

p-himik18:02:03

I don't have a video on S3 but I just tried on a JSON object and it worked just fine.

🚀 1
p-himik18:02:08

Tested with curl (abridged):

> GET /[...].json HTTP/1.1
> Host: 
> Range: bytes=0-10
> User-Agent: curl/7.81.0
> Accept: */*
> 
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* Mark bundle as not supporting multiuse
< HTTP/1.1 206 Partial Content
[...]
< Accept-Ranges: bytes
< Content-Range: bytes 0-10/6397000
< Content-Type: application/json
< Server: AmazonS3
< Content-Length: 11

👍 1