anchor.diff:          'POST' ->
               case PathTokens of
                   ["uilogin"] ->
  -                    {done, handle_uilogin(Req)};
  +                    {ui, IsSSL, fun handle_uilogin/1};
                   ["uilogout"] ->
                       {done, handle_uilogout(Req)};
                   ["sampleBuckets", "install"] ->
  
positive.code:     true.
  
  -type action() :: {done, term()} |
                    {rbac_permissions() | no_check, fun()} |
                    {rbac_permissions() | no_check, fun(), [string()]}.
  
  -spec get_action(mochiweb_request(), {term(), term()}, string(), [string()]) -> action().
  get_action(Req, {AppRoot, Plugins}, Path, PathTokens) ->
      case Req:get(method) of
          Method when Method =:= 'GET'; Method =:= 'HEAD' ->
              case PathTokens of
  
negative.code:                 ["index.html"] ->
                      {done, redirect_permanently("/ui/index.html", Req)};
                  ["ui", "index.html"] ->
                      {ui, IsSSL, fun handle_ui_root/4, [AppRoot, Path, Plugins]};
                  ["classic-index.html"] ->
                      {ui, IsSSL, fun handle_classic_index_html/3, [AppRoot, Path]};
                  ["dot", Bucket] ->
                      {{[{bucket, Bucket}, settings], read}, fun handle_dot/2, [Bucket]};
                  ["dotsvg", Bucket] ->
  