Lines Matching refs:target
172 func = nxt_python_asgi_get_func(nxt_py_targets->target[i].application); in nxt_python_asgi_init()
185 nxt_py_targets->target[i].asgi_legacy = 1; in nxt_python_asgi_init()
455 nxt_python_target_t *target; in nxt_py_asgi_request_handler() local
498 target = &nxt_py_targets->target[req->request->app_target]; in nxt_py_asgi_request_handler()
517 scope = nxt_py_asgi_create_http_scope(req, target); in nxt_py_asgi_request_handler()
532 if (!target->asgi_legacy) { in nxt_py_asgi_request_handler()
535 res = PyObject_CallFunctionObjArgs(target->application, in nxt_py_asgi_request_handler()
541 res = PyObject_CallFunctionObjArgs(target->application, scope, NULL); in nxt_py_asgi_request_handler()
642 char *p, *target, *query; in nxt_py_asgi_create_http_scope() local
716 target = nxt_unit_sptr_get(&r->target); in nxt_py_asgi_create_http_scope()
720 target_length = query - target - 1; in nxt_py_asgi_create_http_scope()
726 v = PyBytes_FromStringAndSize(target, target_length); in nxt_py_asgi_create_http_scope()