Read HTTP request headers
Posted: Thu Apr 30, 2015 3:14 pm
I'd like to serve 206 partial requests, from a rpgsp program. Is there a way to read the Range header to get the bytes range of the content to serve?
GET /path/to/program?which=84 HTTP/1.1
Host: domain.tld
Connection: keep-alive
Accept: */*
Accept-Encoding: gzip, deflate, sdch
Accept-Language: en-TT,en;q=0.8
Range: bytes=4445184-4446207
If-Range: "423c76-13c625b-514e00a6256c0"