Added support for Range header when returning a non-stream / non-file body