commit | d1848e6f2288ea9b3758c22f10f75706a87be3b5 | [log] [tgz] |
---|---|---|
author | Nick Vatamaniuc <vatamane@apache.org> | Mon Mar 13 02:22:19 2017 -0400 |
committer | Nick Vatamaniuc <vatamane@apache.org> | Tue Mar 14 02:57:25 2017 -0400 |
tree | 2e6ae51fdd8731c041b70ef6e055815fe03adecc | |
parent | 60f6f6a8be1d8334241f40a34516e5c9ba30a9f4 [diff] |
Allow limiting maximum document body size This is the HTTP layer and some tests. The actual checking is done in couch application's from_json_obj/1 function. If a document is too large it will return a 413 response code. The error reason will be the document ID. The intent is to help users identify the document if they used _bulk_docs endpoint. It will also help replicator skip over documents which are too large. COUCHDB-2992