Node.js: fixed typo in naming rawHeaders() method of request.
This commit is contained in:
@@ -464,7 +464,7 @@ Unit::create_headers(nxt_unit_request_info_t *req, napi_value request)
|
|||||||
return status;
|
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) {
|
if (status != napi_ok) {
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user