Welcome! Log In Create A New Profile

Advanced

[njs] HTTP: documenting props removal in changelog.

Dmitry Volyntsev
April 11, 2019 08:02AM
details: https://hg.nginx.org/njs/rev/0c8a6246a4af
branches:
changeset: 877:0c8a6246a4af
user: Dmitry Volyntsev <xeioex@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
Subject Author Views Posted

[njs] HTTP: documenting props removal in changelog.

Dmitry Volyntsev 147 April 11, 2019 08:02AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 80
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready