fix delete api

Before:

    $ curl -d '' http://localhost:5125/delete/a/b/
    [:error, 0][:location, "/list/a/b”]

After fixed:

    {"location":"http://localhost:5125/list/a/b","error":0}