1. cherrypy
  2. CherryPy

Source

CherryPy / cherrypy / _cpwsgiserver.py

Author Commit Message Date Builds
Robert Brewer
Changing version to 3.0.0beta.
Robert Brewer
Fix for WSGI server if the same comma-separated header appears in both headers and trailer.
Robert Brewer
Fix for #527 (fragments in Request-URI). The builtin WSGI server now returns "400 Bad Request".
Robert Brewer
A couple doc tweaks.
Robert Brewer
Further fix for persistent conns (ignore timeouts).
Robert Brewer
A couple fixes to CP3's _cpwsgiserver.py for Python 2.3 compatibility.
Robert Brewer
Fixes for #479 (CherryPy crashes on using seteuid / setegid) for CP 2.2 and CP 3.
Robert Brewer
Fix for the fix for #551 (basically, die on timeout instead of responding with 408).
Robert Brewer
WSGI server: uncaught exceptions now write tracebacks to the response stream if possible.
Robert Brewer
Fixes for Python 2.5rc1: 1. When the WSGI server socket is closed, socket.accept now fails with a socket.error "Socket operation on non-socket" (see _cpwsgiserver.py diff). 2. The output of Response.SimpleCookie now has no trailing semicolon (see test_core.py diff). 3. Some attributes of unittest.TestCase moved from double-underscore to single (see webtest.py diff).
Sylvain Hellegouarch
Added mising request_line when exception is raised
Robert Brewer
Minor chunked encoding fix, plus test suite fixes for cpmodpy.
Robert Brewer
Fixed the HTTP/1.0 test suite. This involved moving wsgi SERVER_PROTOCOL back (to what the spec says!) and adding a new non-standard ACTUAL_SERVER_PROTOCOL entry.
Robert Brewer
Support for max_request_body_size when decoding chunked request body (also fixes a long-standing bug when max header size exceeded).
Robert Brewer
Fix for #497 (decode a "Transfer-Encoding: chunked" request).
Robert Brewer
Better support for Expect/100 Continue.
Robert Brewer
Fix for #551 (_cpwsgiserver should handle persistent connections). All of CP should now default to HTTP/1.1. Some tests still need to be written, and 1.0 support reviewed throughout, but the basics work.
Robert Brewer
Further CP3 fix for #541; urlparse now sets wsgi.url_scheme if available.
Robert Brewer
WSGI-related changes: 1. Changed Request.run from request_line arg to deconstructed args: method, path, query_string, and protocol. 2. Moved HTTP protocol checking from _cprequest to _cpwsgiserver. What was cherrypy.response.version is now cherrypy.request.protocol (tuple form of SERVER_PROTOCOL). request.version and response.version attributes removed. _cpwsgiserver now writes out server.protocol, not SERVER_PROTOCO…
Robert Brewer
CherryPyWSGIServer now clears its interrupt on start().
Robert Brewer
Better docstring for CherryPyWSGIServer.
Robert Brewer
Fix for #542 (_cpwsgiserver should concatenate multiple incoming headers).
Robert Brewer
Merged the reexec branch. Autoreload now uses exec instead of spawn, and therefore never runs more than one process at a time. There's a new test for autoreload in test_states.py. The state-management for the HTTP server is a mess, by the way. I only got test_states' KeyboardInterrupt test working by inlining the client threads. So wait() and interrupts, etc. only really work when there's a single master thread. This needs fixed.
Robert Brewer
Reverting [1165], [1182]. Turns out it wasn't necessary for encoded request headers, and only served to slow CP by about 5%.
Robert Brewer
Fix for missing FeedParser in Python 2.3.
Christian Wyglendowski
Fix for sneaky bug introduced in [1164].
Robert Brewer
Updated WSGI server to use email package instead of mimetools. This will allow encoded header values, for example.
Robert Brewer
Replaced http.HTTPDate with its clone rfc822.formatdate.
Robert Brewer
Reverting [1116] for now until tests can be made.
Robert Brewer
Attempt to re-use the _cpwsgiserver listener socket on UNIX platforms. Not tested.
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next