]> git.kaiwu.me - njs.git/commit
HTTP: renaming reqBody,resBody to requestBuffer and responseBuffer.
authorDmitry Volyntsev <xeioex@nginx.com>
Fri, 27 Nov 2020 12:28:44 +0000 (12:28 +0000)
committerDmitry Volyntsev <xeioex@nginx.com>
Fri, 27 Nov 2020 12:28:44 +0000 (12:28 +0000)
commit65c2a47abdb76a7ff861590746f08a2833d91b88
tree7cc3a9a7381ff09336b4f4981df695b86ad9f145
parenteb24b770caf868b5892f05080d07c8843ef134ae
HTTP: renaming reqBody,resBody to requestBuffer and responseBuffer.

In 434f20c29f4c, r.reqBody and r.resBody were introduced.  Since quite
often request body and response body are valid strings, it is preferable
to leave both variants to avoid potential conversions.

To make distinction clearer, requestText and responseText aliases to
requestBody and responseBody were also added.
nginx/ngx_http_js_module.c