anchor.diff:                          {stream, Generator, Acc0} ->
                               Response3 = Response2:data(chunked),
                               Response3:build_response(),
  -                            process_chunk_generator(Request, Generator, Acc0);
  +                            process_chunk_generator(Request, RequestMethod, Generator, Acc0);
                           _ ->
                               (Response2:data(Payload)):build_response()
                       end
  
positive.code:             {error, ["Error: <pre>", io_lib:print(Payload), "</pre>"], []}
      end.
  
  process_chunk_generator(Req, Generator, Acc) ->
      case Generator(Acc) of
          {output, Data, Acc1} ->
              Length = iolist_size(Data),
              mochiweb_socket:send(Req:socket(), [io_lib:format("~.16b\r\n", [Length]), Data, <<"\r\n">>]),
              process_chunk_generator(Req, Generator, Acc1);
          done ->
              mochiweb_socket:send(Req:socket(), ["0\r\n\r\n"]),
              ok
  
negative.code:             end,
              case AuthInfo of
                  {ok, Info} ->
                      EffectiveRequestMethod = case Req:request_method() of
                          'HEAD' -> 'GET';
                          Method -> Method
                      end,
                     ActionResult = case proplists:get_value(Action, ExportStrings) of
                          3 ->
                              ActionAtom = list_to_atom(Action),
                              ControllerInstance:ActionAtom(EffectiveRequestMethod, Tokens);
                          4 ->
                              ActionAtom = list_to_atom(Action),
                              ControllerInstance:ActionAtom(EffectiveRequestMethod, Tokens, Info);
                          _ ->
                              undefined
                      end,
  