Node.js: ServerResponse.flushHeaders() implemented.
This closes #1006 issue on GitHub. Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
This commit is contained in:
@@ -303,6 +303,10 @@ def test_node_application_get_header_names():
|
||||
'x-header',
|
||||
], 'get header names'
|
||||
|
||||
def test_node_application_flush_headers():
|
||||
client.load('flush_headers')
|
||||
|
||||
assert client.get()['headers']['X-Header'] == 'blah'
|
||||
|
||||
def test_node_application_has_header():
|
||||
client.load('has_header')
|
||||
|
||||
Reference in New Issue
Block a user