anchor.diff:                   'DELETE' ->
                        case PathTokens of
                            ["pools", PoolId, "buckets", Id] ->
  -                             {auth,
  -                              fun handle_bucket_delete/3,
  -                              [PoolId, Id]};
  +                             {auth, fun handle_bucket_delete/3, [PoolId, Id]};
                            _ ->
                                ns_log:log(?MODULE, 100, "Invalid delete received: ~p", Req),
                                 {done, Req:respond({405, [], "Method Not Allowed"})}
                        end;
                    'PUT' ->
                        case PathTokens of
  -                         ["pools", _PoolId, "buckets", _Id] ->
  -                             {done, Req:respond({200, [], "if this were implemented, a bucket Id to pool PoolId would be added with response the same as bucket details"})};
  +                         ["pools", PoolId, "buckets", Id] ->
  +                             {auth, fun handle_bucket_update/3, [PoolId, Id]};
                            _ ->
                                ns_log:log(?MODULE, 100, "Invalid put received: ~p", Req),
                                {done, Req:respond({405, [], "Method Not Allowed"})}
  
positive.code:             end
      end.
  
  serve_index_html_for_tests(Req, DocRoot) ->
      case file:read_file(DocRoot ++ "/index.html") of
          {ok, Data} ->
  
negative.code:     %%                    clusterMemberPort=8080&
      %%                    user=admin&password=admin123
      %%
      Params = Req:parse_qs(),
      OtherHost = proplist:get_value("clusterMemberHostIp", Params),
      OtherPort = proplist:get_value("clusterMemberPort", Params),
      OtherUser = proplist:get_value("user", Params),
  