Changeset 1686
- Timestamp:
- 06/23/07 19:06:25
- Files:
-
- trunk/cherrypy/test/modpy.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/test/modpy.py
r1627 r1686 1 """Wrapper for mod_python, for use as a CherryPy HTTP server .1 """Wrapper for mod_python, for use as a CherryPy HTTP server when testing. 2 2 3 3 To autostart modpython, the "apache" executable or script must be … … 6 6 create a symlink to them if needed. 7 7 8 If you wish to usethe WSGI interface instead of our _cpmodpy interface,8 If you wish to test the WSGI interface instead of our _cpmodpy interface, 9 9 you also need the 'modpython_gateway' module at: 10 10 http://projects.amor.org/misc/wiki/ModPythonGateway … … 30 30 instead of REQUEST_CHUNKED_DECHUNK, see Apache2's http_protocol.c and 31 31 mod_python's requestobject.c). 32 8. Apache will output a "Content-Length: 0" response header even if there's 33 no response entity body. This isn't really a bug; it just differs from 34 the CherryPy default. 32 35 """ 33 36 … … 117 120 cherrypy.config.update({ 118 121 "log.error_file": os.path.join(curdir, "test.log"), 119 "environment": " production",122 "environment": "test_suite", 120 123 }) 121 124 cherrypy.engine.start()

