summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_python_wsgi.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-02-01 15:07:23 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-02-01 15:07:23 +0300
commit8942550b13515e54aff9d682bec3da45ade26e18 (patch)
tree17e36260cfc5519d2aaa89dbffc7bcbd63687f9d /src/nxt_python_wsgi.c
parentd4d36c65fa14dabeb029b3e6157d85672ac176ad (diff)
downloadunit-8942550b13515e54aff9d682bec3da45ade26e18.tar.gz
unit-8942550b13515e54aff9d682bec3da45ade26e18.tar.bz2
More refactoring relicts removed.
Diffstat (limited to 'src/nxt_python_wsgi.c')
-rw-r--r--src/nxt_python_wsgi.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nxt_python_wsgi.c b/src/nxt_python_wsgi.c
index c0b03efe..404047c0 100644
--- a/src/nxt_python_wsgi.c
+++ b/src/nxt_python_wsgi.c
@@ -57,7 +57,7 @@ nxt_application_module_t nxt_python_module = {
static PyMethodDef nxt_py_start_resp_method[] = {
- {"nginman_start_response", nxt_py_start_resp, METH_VARARGS, ""}
+ {"nginext_start_response", nxt_py_start_resp, METH_VARARGS, ""}
};
@@ -71,7 +71,7 @@ static PyMethodDef nxt_py_input_methods[] = {
static PyTypeObject nxt_py_input_type = {
PyVarObject_HEAD_INIT(NULL, 0)
- "nginman._input", /* tp_name */
+ "nginext._input", /* tp_name */
(int) sizeof(nxt_py_input_t), /* tp_basicsize */
0, /* tp_itemsize */
(destructor) nxt_py_input_dealloc, /* tp_dealloc */
@@ -90,7 +90,7 @@ static PyTypeObject nxt_py_input_type = {
0, /* tp_setattro */
0, /* tp_as_buffer */
Py_TPFLAGS_DEFAULT, /* tp_flags */
- "nginman input object.", /* tp_doc */
+ "nginext input object.", /* tp_doc */
0, /* tp_traverse */
0, /* tp_clear */
0, /* tp_richcompare */
@@ -228,7 +228,7 @@ nxt_python_wsgi_init(nxt_thread_t *thr, nxt_cycle_t *cycle)
nxt_py_environ_ptyp = obj;
- obj = Py_BuildValue("[s]", "nginman");
+ obj = Py_BuildValue("[s]", "nginext");
if (obj == NULL) {
nxt_log_alert(thr->log,
"Python failed to create the \"sys.argv\" list");
@@ -295,7 +295,7 @@ nxt_python_init(nxt_thread_t *thr)
return NXT_ERROR;
}
- pModule = PyImport_ExecCodeModuleEx((char *) "_wsgi_nginman", co, (char *) script);
+ pModule = PyImport_ExecCodeModuleEx((char *) "_wsgi_nginext", co, (char *) script);
Py_XDECREF(co);
#endif
@@ -816,7 +816,7 @@ nxt_py_start_resp(PyObject *self, PyObject *args)
static const u_char resp[] = "HTTP/1.1 ";
static const u_char default_headers[]
- = "Server: nginman/0.1\r\n"
+ = "Server: nginext/0.1\r\n"
"Connection: close\r\n";
n = PyTuple_GET_SIZE(args);