anchor.diff:          event_loop(SendChunk, Id, Timeout, Req2, State)
       end,
       Req3 = cowboy_req:set_resp_body_fun(chunked, StreamFun, Req2),
  -    {ok, Req4} = cowboy_req:reply(?HTTP_OK, [], Req3),
  +    {ok, Req4} = cowboy_req:reply(?HTTP_OK, [], same(Req3)),
       {halt, Req4, State}.
   
   
  
positive.code:             event_loop(SendChunk, Id, Timeout, Req, State)
      after
          Timeout ->
              {ok, Req}
      end.
  
  %%--------------------------------------------------------------------
  
negative.code:             {infinity, Req2};
          Number ->
              {binary_to_integer(Number), Req2}
      end.
  
  %%--------------------------------------------------------------------
  %% @todo fix types in cowboy_req
  %% @doc
  %% Returns the same object in a way that dialyzer will not know its type.
  %% @end
  %%--------------------------------------------------------------------
  -spec same(term()) -> term().
  same(X) ->
      put(x, X),
      get(x).