public final void updateRequestHeaders(HttpUriRequest uriRequest) {
   if (this.file.exists() && this.file.canWrite()) {
     this.current = this.file.length();
   }
   if (this.current > 0) {
     this.append = true;
     uriRequest.setHeader("Range", "bytes=" + this.current + "-");
   }
 }