anchor.diff:                           ["pools", PoolId, "buckets", Id] ->
                                {auth, fun handle_bucket_update/3, [PoolId, Id]};
                            _ ->
  -                             ns_log:log(?MODULE, 100, "Invalid put received: ~p", Req),
  +                             ns_log:log(?MODULE, 0003, "Invalid put received: ~p", Req),
                                {done, Req:respond({405, [], "Method Not Allowed"})}
                        end;
                    _ ->
  -                     ns_log:log(?MODULE, 100, "Invalid request received: ~p", Req),
  +                     ns_log:log(?MODULE, 0004, "Invalid request received: ~p", Req),
                        {done, Req:respond({405, [], "Method Not Allowed"})}
                end,
       case Action of
  
positive.code:                              {auth_bucket, fun handle_bucket_flush/3,
                                [PoolId, Id]};
                           _ ->
                               ns_log:log(?MODULE, 100, "Invalid post received: ~p", Req),
                               {done, Req:not_found()}
                       end;
                   'DELETE' ->
  
negative.code:                          ["pools", PoolId, "buckets", Id] ->
                               {auth, fun handle_bucket_delete/3, [PoolId, Id]};
                           _ ->
                               ns_log:log(?MODULE, 0002, "Invalid delete received: ~p", Req),
                                {done, Req:respond({405, [], "Method Not Allowed"})}
                       end;
                   'PUT' ->
  