/unit/test/python/unicode/ |
H A D | wsgi.py | 2 temp_dir = environ.get('HTTP_TEMP_DIR')
|
/unit/test/ |
H A D | test_asgi_lifespan.py | 45 assert client.get()['status'] == 204 89 assert client.get(url="/1")['status'] == 204 90 assert client.get(url="/2")['status'] == 204 101 assert client.get()['status'] == 503 112 client.get() 120 client.get()
|
H A D | test_asgi_application_unix_abstract.py | 22 assert client.get(sock_type='unix', addr=addr)['status'] == 200
|
H A D | conftest.py | 395 def get(url): function 396 return http.get(url=url, sock_type='unix', addr=sock)['body'] 406 certs = json.loads(get('/certificates')).keys() 419 scripts = json.loads(get('/js_modules')).keys()
|
H A D | test_unix_abstract.py | 34 assert client.get(sock_type='unix', addr=addr)['status'] == 200, 'neg ipv4' 37 assert client.get(sock_type='unix', addr=addr)['status'] == 200, 'neg ipv6' 40 assert client.get()['status'] == 404, 'ipv4' 41 assert client.get(sock_type='unix', addr=addr)['status'] == 200, 'unix' 53 return client.get(
|
H A D | test_status_tls.py | 28 assert client.get()['status'] == 200 31 assert Status.get('/requests/total') == 2
|
H A D | test_status.py | 13 assert Status.get('/connections') == { 60 assert client.get()['status'] == 200 115 assert client.get()['status'] == 200 120 (_, sock) = client.get( 128 client.get(sock=sock) 133 (_, sock) = client.get( 145 client.get(sock=sock) 172 assert client.get()['status'] == 200 180 (_, sock) = client.get( 213 client.get(read_timeout=1) [all …]
|
H A D | test_routing_tls.py | 28 assert client.get()['status'] == 200, 'http'
|
H A D | test_python_targets.py | 45 resp = client.get(url='/1') 49 resp = client.get(url='/2') 94 resp = client.get(url=url)
|
H A D | test_njs_modules.py | 33 assert client.get()['status'] == 200, 'string' 36 assert client.get()['status'] == 200, 'array' 47 assert client.get()['status'] == 200, 'array len 2' 52 assert client.get()['status'] == 200, 'array new' 80 assert client.get()['status'] == 200 98 assert client.get()['status'] == 200
|
H A D | test_php_targets.py | 48 assert client.get(url='/1')['body'] == '1' 49 assert client.get(url='/2')['body'] == '2' 50 assert client.get(url='/blah')['status'] == 404 51 assert client.get(url='/')['body'] == 'index' 52 assert client.get(url='/1.php?test=test.php/')['body'] == '1' 57 assert client.get(url='/')['body'] == '1' 62 assert client.get(url='/')['body'] == 'index' 83 assert client.get()['status'] == 200
|
H A D | test_ruby_isolation.py | 43 assert client.get()['status'] == 200, 'status int'
|
H A D | test_python_environment.py | 38 client.get( 51 client.get( 68 client.get( 81 client.get( 101 client.get( 114 client.get( 128 home_default = client.get( 141 client.get( 154 client.get(
|
H A D | test_php_isolation.py | 40 assert client.get()['status'] == 200, 'empty rootfs'
|
/unit/test/python/body_generate/ |
H A D | wsgi.py | 2 length = env.get('HTTP_X_LENGTH', '10')
|
/unit/test/python/delayed/ |
H A D | asgi.py | 10 body += m.get('body', b'') 11 if not m.get('more_body', False): 14 headers = scope.get('headers', [])
|
/unit/test/python/environment/ |
H A D | wsgi.py | 5 variables = env.get('HTTP_X_VARIABLES').split(',')
|
/unit/test/python/iter_exception/ |
H A D | wsgi.py | 10 self._skip_level = int(self.environ.get('HTTP_X_SKIP', 0)) 11 self._not_skip_close = int(self.environ.get('HTTP_X_NOT_SKIP_CLOSE', 0)) 12 self._is_chunked = self.environ.get('HTTP_X_CHUNKED')
|
/unit/ |
H A D | CONTRIBUTING.md | 17 [Howto](https://unit.nginx.org/howto/) guides to get NGINX Unit up and running.
|
/unit/src/java/nginx/unit/websocket/ |
H A D | DigestAuthenticator.java | 41 String userName = (String) userProperties.get(Constants.WS_AUTHENTICATION_USER_NAME); in getAuthorization() 42 String password = (String) userProperties.get(Constants.WS_AUTHENTICATION_PASSWORD); in getAuthorization() 51 String realm = wwwAuthenticate.get("realm"); in getAuthorization() 52 String nonce = wwwAuthenticate.get("nonce"); in getAuthorization() 53 String messageQop = wwwAuthenticate.get("qop"); in getAuthorization() 54 String algorithm = wwwAuthenticate.get("algorithm") == null ? "MD5" in getAuthorization() 55 : wwwAuthenticate.get("algorithm"); in getAuthorization() 56 String opaque = wwwAuthenticate.get("opaque"); in getAuthorization()
|
/unit/test/python/chunked/ |
H A D | wsgi.py | 3 content_length = int(environ.get('CONTENT_LENGTH', 0)) 6 header_transfer = environ.get('HTTP_X_TRANSFER') 7 header_length = environ.get('HTTP_X_LENGTH')
|
/unit/test/unit/applications/ |
H A D | proto.py | 12 os.environ.get('PYTEST_CURRENT_TEST').split(':')[-1].split(' ')[0] 15 return option.generated_tests.get(current_test, self.application_type)
|
/unit/test/unit/ |
H A D | log.py | 66 file.seek(Log.pos.get(name, 0)) 98 pos = Log.pos.get(UNIT_LOG, 0) 99 Log.pos[UNIT_LOG] = Log.pos.get(name, 0)
|
/unit/test/python/prefix/ |
H A D | asgi.py | 10 (b'prefix', scope.get('root_path', 'NULL').encode()),
|
/unit/test/python/targets/ |
H A D | asgi.py | 34 (b'prefix', scope.get('root_path', 'NULL').encode()),
|