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
This commit is contained in:
committed by
andrey-zelenkov
parent
ba56e50ee7
commit
6452ca111c
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user