Unit application library.

Library now used in all language modules.
Old 'nxt_app_*' code removed.

See src/test/nxt_unit_app_test.c for usage sample.
This commit is contained in:
Max Romanov
2018-08-06 17:27:33 +03:00
parent b6ce2da65c
commit 1bb22d1e92
54 changed files with 6685 additions and 4469 deletions

View File

@@ -8,4 +8,5 @@ class application:
yield b''
def close(self):
self.environ['wsgi.errors'].write('Close called.')
self.environ['wsgi.errors'].write('Close called.\n')
self.environ['wsgi.errors'].flush()