PHP: populating PHP_AUTH_* server variables.

This closes #498 issue on GitHub.
This commit is contained in:
Valentin Bartenev
2020-12-08 01:59:46 +03:00
parent bda76b04e9
commit 2348229dc7
6 changed files with 26 additions and 0 deletions

View File

@@ -174,6 +174,8 @@ static nxt_http_field_proc_t nxt_h1p_fields[] = {
{ nxt_string("Content-Type"), &nxt_http_request_field,
offsetof(nxt_http_request_t, content_type) },
{ nxt_string("Content-Length"), &nxt_http_request_content_length, 0 },
{ nxt_string("Authorization"), &nxt_http_request_field,
offsetof(nxt_http_request_t, authorization) },
};