fix to handle GET with Range header correctly(TODO: UT/IT)