anchor.diff:                              [] -> [];
                               _ -> [$?, encode_query(Bindings)]
                           end),
  -
  +                    
                       % if path is relative detect it and rewrite path
                       case mochiweb_util:safe_relative_path(Path) of
                           undefined ->
  
positive.code: 
              %% get raw path by matching url to a rule.
              RawPath = case try_bind_path(DispatchList, Method, PathParts,
                                      QueryList) of
                  no_dispatch_path ->
                      throw(not_found);
                  {NewPathParts, Bindings} ->
  
negative.code:     DesignId = <<"_design/", DesignName/binary>>,
      Prefix = <<"/", DbName/binary, "/", DesignId/binary>>,
      QueryList = couch_httpd:qs(Req),
      QueryList1 = [{to_atom(K), V} || {K, V} <- QueryList],
  
      #doc{body={Props}} = DDoc,
  
  