summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2009-11-05 12:29:53 +0000
committerJan Lehnardt <jan@apache.org>2009-11-05 12:29:53 +0000
commitd0276eccf24bc39295de08f9d1170751e4c04c7f (patch)
treebdf6766e28b9b1bb7863c0a07e62069b069d16cf
parentac2900a560c2c4288c4d91622cf3fd6db4959819 (diff)
typo, thanks David Coallier
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@833038 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--share/www/script/test/basics.js2
-rw-r--r--src/couchdb/couch_httpd_db.erl2
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);