diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2018-11-01 19:10:32 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2018-11-01 19:10:32 +0300 |
commit | b7442743cfdf52185f293c770a883f1467776c5e (patch) | |
tree | 6e20f407ad3b4d086db0afdce095afe39df01df2 /src/nodejs/unit-http | |
parent | 7a06fab9e32ca3ba91a566b065188c0b112d6c09 (diff) | |
download | unit-b7442743cfdf52185f293c770a883f1467776c5e.tar.gz unit-b7442743cfdf52185f293c770a883f1467776c5e.tar.bz2 |
Node.js: fixed typo in naming rawHeaders() method of request.
Diffstat (limited to 'src/nodejs/unit-http')
-rw-r--r-- | src/nodejs/unit-http/unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodejs/unit-http/unit.cpp b/src/nodejs/unit-http/unit.cpp index 5d7f15c0..97238834 100644 --- a/src/nodejs/unit-http/unit.cpp +++ b/src/nodejs/unit-http/unit.cpp @@ -464,7 +464,7 @@ Unit::create_headers(nxt_unit_request_info_t *req, napi_value request) return status; } - status = napi_set_named_property(env_, request, "raw_headers", raw_headers); + status = napi_set_named_property(env_, request, "rawHeaders", raw_headers); if (status != napi_ok) { return status; } |