fixed getContentData stop condition
added Content-Range header