diff options
author | Damien F. Katz <damien@apache.org> | 2009-11-15 04:11:11 +0000 |
---|---|---|
committer | Damien F. Katz <damien@apache.org> | 2009-11-15 04:11:11 +0000 |
commit | 1b0146dd004c1b9cd6769c11969cc13f8a37fcd9 (patch) | |
tree | 286cb8b36c63057474fda4fff1245a56e32a05d6 /src/couchdb/couch_httpd.erl | |
parent | 29862925728ff98c077107183e75e23184b0e51d (diff) |
Testing of incremental attachments and more testing of multipart/handling.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@836324 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_httpd.erl')
-rw-r--r-- | src/couchdb/couch_httpd.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/couchdb/couch_httpd.erl b/src/couchdb/couch_httpd.erl index a0955daa..9c0a3668 100644 --- a/src/couchdb/couch_httpd.erl +++ b/src/couchdb/couch_httpd.erl @@ -559,6 +559,8 @@ error_info({error, illegal_database_name}) -> {400, <<"illegal_database_name">>, <<"Only lowercase characters (a-z), " "digits (0-9), and any of the characters _, $, (, ), +, -, and / " "are allowed">>}; +error_info({missing_stub, Reason}) -> + {412, <<"missing_stub">>, Reason}; error_info({Error, Reason}) -> {500, couch_util:to_binary(Error), couch_util:to_binary(Reason)}; error_info(Error) -> |