diff options
author | Valentin Bartenev <vbart@nginx.com> | 2020-12-08 01:59:46 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2020-12-08 01:59:46 +0300 |
commit | 2348229dc7656f36a7915d85af56aae9ed9fb120 (patch) | |
tree | 37f5ce3dcfe6ae4859ce6440765e0b5fa2d4518b /src/nxt_h1proto.c | |
parent | bda76b04e9aec295c7fa11c7eacb6e11c4bf67f4 (diff) | |
download | unit-2348229dc7656f36a7915d85af56aae9ed9fb120.tar.gz unit-2348229dc7656f36a7915d85af56aae9ed9fb120.tar.bz2 |
PHP: populating PHP_AUTH_* server variables.
This closes #498 issue on GitHub.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_h1proto.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_h1proto.c b/src/nxt_h1proto.c index 6aef264c..d3da6942 100644 --- a/src/nxt_h1proto.c +++ b/src/nxt_h1proto.c @@ -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) }, }; |