I am trying to make a partial content request(206) instead of a 200 request. I set the accepted ranges header but when I do a sendfile($fh) it does a 200 request instead of 206 request. So i was wondering if I am sending the correct headers for it to do a 206 request.
thanks! | [reply] |
I am trying to make a partial content request(206) instead of a 200 request.
Um, clients make requests, servers make responses, part of which are response status codes, clients receive responses
You say ap_byterange_filter is taking care of serving the requested ranges, without your program having to do anything special; if that is the case, then ap_byterange_filter is also responsible for turning the default 200 code your program sends into a 206 ; if ap_byterange_filter is taking care of things for you, your program doesn't have to do anything special
| [reply] |
long day.i meant response and not request. i guess i'll look into into the ap_byterange_filter call then. Thanks!
| [reply] |