I am trying to access to the byte range header request made to a G-wan server, the thing is that I always obtain "0" as a value from the h_range_from attribute int the http_t struct.
http_t *head = (http_t*)get_env(argv, HTTP_HEADERS);
printf("FROM: %d\n", head->h_range_from);
printf("TO: %d\n", head->h_range_to);
Has anyone obtain the byte ranges successfully before?
// Example header request:
Range: bytes=1000-
I will really appreciate your help.
Thanks!