Searched refs:PyBytes_Check (Results 1 – 5 of 5) sorted by relevance
28 #define PyBytes_Check PyString_Check macro
374 if (PyBytes_Check(response)) { in nxt_python_request_handler()398 if (nxt_fast_path(PyBytes_Check(item))) { in nxt_python_request_handler()958 if (!PyBytes_Check(string) && !PyUnicode_Check(string)) { in nxt_py_start_resp()986 if (PyBytes_Check(string)) { in nxt_py_start_resp()998 if (PyBytes_Check(string)) { in nxt_py_start_resp()1131 if (PyBytes_Check(str)) { in nxt_python_str_buf()1155 if (nxt_fast_path(!PyBytes_Check(str))) { in nxt_py_write()
383 if (PyBytes_Check(body)) { in nxt_py_asgi_http_response_body()
1247 if (nxt_slow_path(name == NULL || !PyBytes_Check(name))) { in nxt_py_asgi_enum_headers()1258 if (nxt_slow_path(val == NULL || !PyBytes_Check(val))) { in nxt_py_asgi_enum_headers()
448 if (nxt_slow_path(bytes != NULL && !PyBytes_Check(bytes))) { in nxt_py_asgi_websocket_send_frame()