Source

CherryPy / cherrypy / _cpwsgi.py

Author Commit Message Labels Comments Date
Robert Brewer
trunk: syncing with python3, except preferring WSGI 1.0 and sticking with bytes for request attrs.
Robert Brewer
Removed py3print.
Robert Brewer
More python3 synchro.
Lakin Wecker
trunk - more changes to bring the two branches into a more similar state - this time normalizing StringIO imports.
Lakin Wecker
trunk - Cosmetic changes (names and spacing) to make the file be closer to the python3 version
Lakin Wecker
trunk - Porting the cherrypy.lib.httputil name change. It'll be easier to maintain two released branches if the modules are named the same. However, in the 2.6 branch we'll leave cherrypy.lib.http working and deprecate it for 3.3.
Robert Brewer
Might as well expose the WSGI write callable.
Robert Brewer
Fix for #803 (run CP under Google App Engine).
Robert Brewer
Fix for #820 (start_response with exc_info raises exception even if no output was sent yet). This also fixes related issues in cpwsgi and error output in general.
Robert Brewer
Fix for #817 (namespace handler for wsgi.response_class).
Robert Brewer
Audit of logging: 1. cherrypy.log now defaults to INFO. 2. Bus.log now takes a 'level=INFO' arg. 3. 'log' channel subscribers now must accept a 'level' arg. 4. Some bus plugin messages upgraded to WARN or ERROR. 5. Some CP core messages upgraded to ERROR. 6. log.screen move to stderr polished. See #747.
Robert Brewer
Adding a server.nodelay option, and making wsgiserver set TCP_NODELAY by default. See http://www.cmlenz.net/archives/2008/03/python-httplib-performance-problems for the use case.
Robert Brewer
Fix for #772 (Make the wsgiserver single-app by default).
Robert Brewer
Fix for #622, #742, #736. The wsgiserver would respond without closing connection and without reading the full request. Fixed now.
Robert Brewer
Reverting the test for #733 until 3.2.
Robert Brewer
Finished porting [1711] to trunk.
Robert Brewer
More from [1711]. I'm porting this in two commits to make the diffs easier to read, so trunk is broken right now.
Robert Brewer
Fix for #698 (wsgiserver classes should pass environs, not the server object). Also moved multiapp dispatching into a separate piece of middleware.
Robert Brewer
Trunk fix for #677 (_cpwsgi requestLine: PATH_INFO SCRIPT_NAME).
Robert Brewer
Fix for #684 (Make it possible to mount virtual host apps separately somewhere below '/'): new VirtualHost WSGI middleware in _cpwsgi.py.
Robert Brewer
Fix for #691 (Repeated Ctrl-C hangs wsgiserver). It took a bit of doing, but test_states passes on my box. If others can try test_states with and without the -ssl flag, that would be a big help.
Robert Brewer
New pywebd module. Trunk is now "3.1alpha".
Robert Brewer
New engine.release method, which decouples request and engine. Also new server.base method, which simplifies cherrypy.url. Finally, cherrypy._serving is promoted to cherrypy.serving, and has a new "load" method.
Robert Brewer
IR now sets Content-Length and closes nextapp.
Robert Brewer
Blurg. Horrible late rewrite of WSGI stack due to missing close calls (one test fails still: IR with HTTP/1.0).
Robert Brewer
Renamed {{{_cpwsgiserver.py}}} to {{{wsgiserver.py}}}, to make it more clear that it's a public, reusable module. Also renamed {{{_cpwsgi.WSGIServer}}} to {{{_cpwsgi.CPWSGIServer}}}, to match the naming convention of the other subclasses in that module.
Robert Brewer
Doc tweaks.
Robert Brewer
InternalRedirect changes: 1. Moved InternalRedirect out of the Request object, so that an IR creates a separate Request object per redirect. This makes the design of hooks and tools (both builtin and user-defined) much simpler and safer. 2. New _cpwsgi.InternalRedirector for the WSGI implementation. Users who do not use InternalRedirects at all can remove this from the wsgi pipeline if they wish. 3. InternalRedirect tra…
Robert Brewer
Transformed _cptree.wsgi_handler function into _cpwsgi.CPWSGIApp class (a delegate for the Application object), and merged in the wsgi.pipeline functionality. This removes the need to call wsgi.pipeline(app) before tree.mount.
Sylvain Hellegouarch
SSL certificates and HTTP protocol attached to the instance of the WSGI server not to its class. Allow several instances of the WSGIServer to be created and bound at different (host, port)
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. Next