anchor.diff:                                               RawPath1,
                                                MochiReq:get(version),
                                                MochiReq:get(headers)),
  -                                             
  +
               % cleanup, It force mochiweb to reparse raw uri.
               MochiReq1:cleanup(),
  -            
  +
               #httpd{
                   db_url_handlers = DbUrlHandlers,
                   design_url_handlers = DesignUrlHandlers,
                   default_fun = DefaultFun,
                   url_handlers = UrlHandlers
               } = Req,
  -            
  -            couch_httpd:handle_request(MochiReq1, DefaultFun, 
  +
  +            couch_httpd:handle_request(MochiReq1, DefaultFun,
                       UrlHandlers, DbUrlHandlers, DesignUrlHandlers)
           end.
  -            
  +
   
   
   %% @doc Try to find a rule matching current url. If none is found
   %% 404 error not_found is raised
   try_bind_path([], _Method, _PathParts, _QueryList) ->
  -    no_dispatch_path;        
  +    no_dispatch_path;
   try_bind_path([Dispatch|Rest], Method, PathParts, QueryList) ->
       [{PathParts1, Method1}, RedirectPath, QueryArgs] = Dispatch,
       case bind_method(Method1, Method) of
  
positive.code:     make_query_list(Rest, Bindings, [{to_atom(Key), Value1}|Acc]);
  make_query_list([{Key, Value}|Rest], Bindings, Acc) ->
      make_query_list(Rest, Bindings, [{to_atom(Key), Value}|Acc]).
      
  replace_var(Key, Value, Bindings) ->
      case Value of
          <<":", Var/binary>> ->
  
negative.code:             case bind_path(PathParts1, PathParts, []) of
                  {ok, Remaining, Bindings} ->
                      Bindings1 = Bindings ++ QueryList,
  
                      % we parse query args from the rule and fill
                      % it eventually with bindings vars
                      QueryArgs1 = make_query_list(QueryArgs, Bindings1, []),
  
                      % remove params in QueryLists1 that are already in
                      % QueryArgs1
                      Bindings2 = lists:foldl(fun({K, V}, Acc) ->
                          K1 = to_atom(K),
  