Updated http.c

A miss written line hs->left = file->len; in function http_init_file() corrected to hs->left = file->index;