diff options
-rw-r--r-- | share/www/script/test/basics.js | 2 | ||||
-rw-r--r-- | src/couchdb/couch_httpd_db.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/share/www/script/test/basics.js b/share/www/script/test/basics.js index 7e0fe0d6..01d6c81c 100644 --- a/share/www/script/test/basics.js +++ b/share/www/script/test/basics.js @@ -241,5 +241,5 @@ couchTests.basics = function(debug) { TEquals(400, xhr.status, "should return a bad request"); result = JSON.parse(xhr.responseText); TEquals("bad_request", result.error); - TEquals("You tried to DELETE a database with a ?=rev parameter. Did mean to DELETE a document instead?", result.reason); + TEquals("You tried to DELETE a database with a ?=rev parameter. Did you mean to DELETE a document instead?", result.reason); }; diff --git a/src/couchdb/couch_httpd_db.erl b/src/couchdb/couch_httpd_db.erl index 3e33bd79..88c51cf7 100644 --- a/src/couchdb/couch_httpd_db.erl +++ b/src/couchdb/couch_httpd_db.erl @@ -45,7 +45,7 @@ handle_request(#httpd{path_parts=[DbName|RestParts],method=Method, false -> delete_db_req(Req, DbName); _Rev -> throw({bad_request, "You tried to DELETE a database with a ?=rev parameter. " - ++ "Did mean to DELETE a document instead?"}) + ++ "Did you mean to DELETE a document instead?"}) end; {_, []} -> do_db_req(Req, fun db_req/2); |