details: https://hg.nginx.org/njs/rev/0c8a6246a4af branches: changeset: 877:0c8a6246a4af user: Dmitry Volyntsev <xei...@nginx.com> date: Thu Apr 11 15:00:17 2019 +0300 description: HTTP: documenting props removal in changelog.
res.contentLength and res.contentType were deprecated in 0.2.2 and removed in 0.2.8. diffstat: CHANGES | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diffs (14 lines): diff -r dd44fdfef2de -r 0c8a6246a4af CHANGES --- a/CHANGES Wed Apr 10 17:46:14 2019 +0300 +++ b/CHANGES Thu Apr 11 15:00:17 2019 +0300 @@ -318,6 +318,10 @@ Changes with njs 0.2.2 req.headers (use req.headersIn or req.headersOut) req.response + Deprecated members of Response: + res.contentLength (use req.headersOut['Content-Length']) + res.contentType (use req.headersOut['Content-Type']) + The deprecated properties will be removed in the following releases. _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel