anchor.diff:  ]).
   
   -define(IDLE_TIMEOUT, infinity).
  --define(FILE_CHUNK_LENGTH, 65536).
  +-define(FILE_CHUNK_LENGTH, 16#1FFF).
   
   server_header() ->
       case application:get_env(cowmachine, server_header) of
  
positive.code:     send_chunk(Context, end_boundary(Boundary), fin).
  
  
  send_file_body_loop(Context, Offset, Size, _Device, _FinNoFin) when Offset =:= Size ->
      Context;
  send_file_body_loop(Context, Offset, Size, Device, FinNoFin) when Size - Offset =< ?FILE_CHUNK_LENGTH ->
      {ok, Data} = file:read(Device, Size - Offset),
      send_chunk(Context, Data, FinNoFin);
  send_file_body_loop(Context, Offset, Size, Device, FinNoFin) ->
      {ok, Data} = file:read(Device, ?FILE_CHUNK_LENGTH),
      send_chunk(Context, Data, nofin),
      send_file_body_loop(Context, Offset+?FILE_CHUNK_LENGTH, Size, Device, FinNoFin).
  
  send_writer_body(Context, BodyFun) ->
      BodyFun(fun(Data, false, ContextW) ->
  
negative.code: %% @author Justin Sheehy <justin@basho.com>
  %% @author Andy Gross <andy@basho.com>
  %% @copyright 2007-2009 Basho Technologies, 2018-2021 Marc Worrell
  %% Based on mochiweb_request.erl, which is Copyright 2007 Mochi Media, Inc.
  %%
  %%    Licensed under the Apache License, Version 2.0 (the "License");
  