diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2024-01-25 12:49:47 +0000 |
---|---|---|
committer | andrey-zelenkov <xim.andrew@gmail.com> | 2024-01-26 15:17:00 +0000 |
commit | 6452ca111c71188ab2813c763e6a0e86b48fbd56 (patch) | |
tree | fc6517df5824a385a506c6830258801f7130834c /test | |
parent | ba56e50ee77d11c45f569ba8fbc95e6dadb323ef (diff) | |
download | unit-6452ca111c71188ab2813c763e6a0e86b48fbd56.tar.gz unit-6452ca111c71188ab2813c763e6a0e86b48fbd56.tar.bz2 |
Node.js: fixed "httpVersion" variable format
According to the Node.js documenation this variable
should only include numbering scheme.
Thanks to @dbit-xia.
Closes: https://github.com/nginx/unit/issues/1085
Diffstat (limited to 'test')
-rw-r--r-- | test/test_node_application.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_node_application.py b/test/test_node_application.py index aaad2bcf..cb775210 100644 --- a/test/test_node_application.py +++ b/test/test_node_application.py @@ -80,7 +80,7 @@ def test_node_application_variables(date_to_sec_epoch, sec_epoch): 'Request-Method': 'POST', 'Request-Uri': '/', 'Http-Host': 'localhost', - 'Server-Protocol': 'HTTP/1.1', + 'Server-Protocol': '1.1', 'Custom-Header': 'blah', }, 'headers' assert resp['body'] == body, 'body' |