From 1b0146dd004c1b9cd6769c11969cc13f8a37fcd9 Mon Sep 17 00:00:00 2001 From: "Damien F. Katz" Date: Sun, 15 Nov 2009 04:11:11 +0000 Subject: 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 --- src/couchdb/couch_httpd.erl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/couchdb/couch_httpd.erl') 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) -> -- cgit v1.2.3