summaryrefslogtreecommitdiff
path: root/cherrypy/test/modpy.py
diff options
context:
space:
mode:
authorRobert Brewer <fumanchu@aminus.org>2006-09-03 21:46:36 +0000
committerRobert Brewer <fumanchu@aminus.org>2006-09-03 21:46:36 +0000
commitfab4e00a3f4749afca523c1946dd387a45e5f283 (patch)
tree63b8c204ebe12b1a19ac1de4e37edfb52df9447c /cherrypy/test/modpy.py
parent0344b3f39ce1df6311c859901ac3f6b166903cc1 (diff)
downloadcherrypy-git-fab4e00a3f4749afca523c1946dd387a45e5f283.tar.gz
mod_python improvements:
1. Fix to test_config. 2. Skipped some additional tests for known bugs. 3. Documented that mod_python doesn't allow chunked encoding in request.
Diffstat (limited to 'cherrypy/test/modpy.py')
-rw-r--r--cherrypy/test/modpy.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/cherrypy/test/modpy.py b/cherrypy/test/modpy.py
index 26a854c9..96d90706 100644
--- a/cherrypy/test/modpy.py
+++ b/cherrypy/test/modpy.py
@@ -15,6 +15,7 @@ KNOWN BUGS
1. Apache processes Range headers automatically; CherryPy's truncated
output is then truncated again by Apache. See test_core.testRanges.
+ This was worked around in http://www.cherrypy.org/changeset/1319.
2. Apache does not allow custom HTTP methods like CONNECT as per the spec.
See test_core.testHTTPMethods.
3. Max request header and body settings do not work with Apache.
@@ -24,6 +25,10 @@ KNOWN BUGS
5. Apache does not allow custom error codes as per the spec.
6. Apache (or perhaps modpython, or modpython_gateway) unquotes %xx in the
Request-URI too early.
+7. mod_python will not read request bodies which use the "chunked"
+ transfer-coding (it passes REQUEST_CHUNKED_ERROR to ap_setup_client_block
+ instead of REQUEST_CHUNKED_DECHUNK, see Apache2's http_protocol.c and
+ mod_python's requestobject.c).
"""
import os
@@ -126,6 +131,7 @@ class ModPythonTestHarness(test.TestHarness):
def _run(self, conf):
from cherrypy.test import webtest
webtest.WebCase.PORT = self.port
+ webtest.WebCase.harness = self
print
print "Running tests:", self.server