Skip to content

Instantly share code, notes, and snippets.

@loretoparisi
Created November 14, 2018 17:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loretoparisi/11680342ae7387489c720f2e7d529903 to your computer and use it in GitHub Desktop.
Save loretoparisi/11680342ae7387489c720f2e7d529903 to your computer and use it in GitHub Desktop.
Chrome "Content-Range" request and response headers
*** REQUEST 1 ***
GET /streams/12380189?start=5&end=10 HTTP/1.1
Host: my_host
Connection: keep-alive
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7,es;q=0.6,de;q=0.5,ru;q=0.4
*** RESPONSE 1 ***
HTTP/1.1 206 Partial Content
Accept-Ranges: bytes
Access-Control-Allow-Headers: Range
Access-Control-Allow-Methods: POST, GET, OPTIONS
Access-Control-Allow-Origin: *
Cache-Control: no-cache, no-store, must-revalidate
Content-Range: bytes 120429-240237/5751405
Content-Type: audio/mpeg
Date: Wed, 14 Nov 2018 17:46:08 GMT
Expires: 0
Pragma: no-cache
X-Powered-By: Express
Content-Length: 119809
Connection: keep-alive
*** REQUEST 2 ***
GET /streams/12380189?start=5&end=10 HTTP/1.1
Host: my_host
Connection: keep-alive
Accept-Encoding: identity;q=1, *;q=0
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 Safari/537.36
Accept: */*
Referer: my_host/streams/12380189?start=5&end=10
Accept-Language: it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7,es;q=0.6,de;q=0.5,ru;q=0.4
Range: bytes=0-
*** RESPONSE 2 ***
HTTP/1.1 206 Partial Content
Accept-Ranges: bytes
Access-Control-Allow-Headers: Range
Access-Control-Allow-Methods: POST, GET, OPTIONS
Access-Control-Allow-Origin: *
Cache-Control: no-cache, no-store, must-revalidate
Content-Range: bytes 120429-240237/5751405
Content-Type: audio/mpeg
Date: Wed, 14 Nov 2018 17:46:09 GMT
Expires: 0
Pragma: no-cache
X-Powered-By: Express
Content-Length: 119809
Connection: keep-alive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment