Only use chunked encoding when we actually make use of it to iteratively write the response (for example for views). Otherwise just send a normal response with a Content-Length header.
Only use chunked encoding when we actually make use of it to iteratively write the response (for example for views). Otherwise just send a normal response with a Content-Length header.

git-svn-id: 4fea25c0b4601f1448ac7d7dccb5b9e117453f9a@658408 13f79535-47bb-0310-9956-ffa450edef68

atduskgreg/couchdb,benoitc/couchdb-old,mhammond/couchdb,atduskgreg/couchdb,benoitc/couchdb-old,mhammond/couchdb,atduskgreg/couchdb,atduskgreg/couchdb,mhammond/couchdb,mhammond/couchdb,mhammond/couchdb,atduskgreg/couchdb,atduskgreg/couchdb,benoitc/couchdb-old,benoitc/couchdb-old,benoitc/couchdb-old