anchor.diff:  %% @private
   -spec stream_bytes_range_internal(
       http_parser:bytes_range(),
  -    download_ctx(),
  +    streaming_ctx(),
       cowboy_req:req(),
       SendRetryDelay :: time:millis(),
       ReadBytes :: non_neg_integer()
   ) ->
       tar_utils:stream() | undefined | no_return().
  -stream_bytes_range_internal({From, To}, #download_ctx{tar_stream = TarStream}, _, _, _) when From > To ->
  -    TarStream;
  -stream_bytes_range_internal({From, To}, #download_ctx{
  +stream_bytes_range_internal({From, To}, #streaming_ctx{tar_stream = TarStreamOrUndefined}, _, _, _) when From > To ->
  +    TarStreamOrUndefined;
  +stream_bytes_range_internal({From, To}, #streaming_ctx{
       file_handle = FileHandle,
       read_block_size = ReadBlockSize,
       max_read_blocks_count = MaxReadBlocksCount,
  
positive.code: ) ->
      tar_utils:stream() | undefined | no_return().
  stream_bytes_range(FileHandle, FileSize, Range, Req, EncodingFun, ReadBlockSize, TarStream) ->
      stream_bytes_range_internal(Range, #download_ctx{
          file_size = FileSize,
          file_handle = FileHandle,
          read_block_size = ReadBlockSize,
  
negative.code: % implemented with below boundaries.
  -define(MIN_SEND_RETRY_DELAY, 100).
  -define(MAX_SEND_RETRY_DELAY, 1000).
  
  %%%===================================================================
  %%% API
  