docs: protected void copy(final CacheEntry cacheEntry, final ServletOutputStream ostream, final Iterator<Range> ranges, final String contentType) throws IOException {
  		IOException exception = null;
  
  		while ((exception == null) && (ranges.hasNext())) {
  
  			final InputStream resourceInputStream = cacheEntry.getResource().streamContent();
  			final InputStream istream = new BufferedInputStream(resourceInputStream, getInputBufferSize());
  
  			final Range currentRange = ranges.next();
  
  			// Writing MIME header.
  			ostream.println();
  			ostream.println("--" + mimeSeparation);
  			if (contentType != null)
  				ostream.println("Content-Type: " + contentType);
  			ostream.println("Content-Range: bytes " + currentRange.start + "-" + currentRange.end + "/" + currentRange.length);
  			ostream.println();
  
  			// Printing content
  			exception = copyRange(istream, ostream, currentRange.start, currentRange.end);
  
  			istream.close();
  
  		}
  
  		ostream.println();
  		ostream.print("--" + mimeSeparation + "--");
  
  		// Rethrow any exception that has occurred
  		if (exception != null)
  			throw exception;
  	}