anchor.diff:              {error, ["Error: <pre>", io_lib:print(Payload), "</pre>"], []}
       end.
   
  -process_chunk_generator(Req, Generator, Acc) ->
  +process_chunk_generator(_Req, 'HEAD', _Generator, _Acc) ->
  +    ok;
  +process_chunk_generator(Req, Method, 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);
  +            process_chunk_generator(Req, Method, Generator, Acc1);
           done ->
               mochiweb_socket:send(Req:socket(), ["0\r\n\r\n"]),
               ok
  
positive.code:             end,
              case AuthInfo of
                  {ok, Info} ->
                     ActionResult = case proplists:get_value(Action, ExportStrings) of
                          3 ->
                              ActionAtom = list_to_atom(Action),
                              ControllerInstance:ActionAtom(Req:request_method(), Tokens);
                          4 ->
                              ActionAtom = list_to_atom(Action),
                              ControllerInstance:ActionAtom(Req:request_method(), Tokens, Info);
                          _ ->
                              undefined
                      end,
  
negative.code:                         AppInfo#boss_app_info{ translator_pid = TranslatorPid, router_pid = RouterPid }, 
                          Request, Mode, Url, SessionID]),
                      ErrorFormat = "~s ~s [~p] ~p ~pms~n", 
                      RequestMethod = Request:request_method(),
                      ErrorArgs = [RequestMethod, FullUrl, App, StatusCode, Time div 1000],
                      case StatusCode of
                          500 -> error_logger:error_msg(ErrorFormat, ErrorArgs);
                          404 -> error_logger:warning_msg(ErrorFormat, ErrorArgs);
  