rebuild with python 3.10
[packages/apache-mod_python.git] / set-request-response-status.patch
1 diff -urNp -x '*.orig' mod_python-3.5.0.org/src/requestobject.c mod_python-3.5.0/src/requestobject.c
2 --- mod_python-3.5.0.org/src/requestobject.c    2013-11-12 04:21:34.000000000 +0100
3 +++ mod_python-3.5.0/src/requestobject.c        2021-03-02 22:05:35.636698717 +0100
4 @@ -375,6 +375,7 @@ static PyObject *req_wsgi_start_response
5      }
6  
7      self->request_rec->status_line = apr_pstrdup(self->request_rec->pool, status_line);
8 +    self->request_rec->status = status;
9  
10      return PyObject_GetAttrString((PyObject*)self, "write");
11  }
This page took 0.075649 seconds and 4 git commands to generate.