commit | 81888ddaa5909eca4eafe8472a09d127034971d0 | [log] [tgz] |
---|---|---|
author | ILYA Khlopotov <iilyak@apache.org> | Mon Nov 16 04:01:21 2020 -0800 |
committer | Robert Newson <rnewson@apache.org> | Thu Nov 19 10:23:11 2020 +0000 |
tree | 3965109a3a99211e899f8ca0806484c154bb03aa | |
parent | 87a6b1ab7b6c29ff2b5c278c2171d2d894e4060e [diff] |
Use `req_body` field if present When we call `couch_httpd:json_body/1` we can have `req_body` already set. In this case we should return the field as is without any attempt to decompress or decode it. This PR brings the approach we use in `chttpd` into `couch_httpd`.