Source

CherryPy / _cpwsgi.py

The branch 'cp3-wsgi-remix' does not exist.
Author Commit Message Labels Comments Date
Robert Brewer
Fix for #311 (filter method which runs after the response is completely written (or aborted)). New 'onEndRequest' filter method. HTTP SERVERS SHOULD NOW CALL request.close() when they are done writing out.
Branches
cherrypy
Robert Brewer
Fix for #374 (reduce license boilerplate to a single LICENSE.txt file).
Branches
cherrypy
Robert Brewer
Fix for #356 (formalize server.environment as a set of config defaults). New server.logFileNotFound boolean.
Branches
cherrypy
Robert Brewer
Merged /requestobj branch to trunk. cherrypy.serving.request and .response are now instances of _cphttptools.Request and .Response. ALL HTTP SERVER AUTHORS NEED TO UPGRADE THEIR INTERFACES to _cpserver.request as the signature has changed.
Branches
cherrypy
Robert Brewer
Phew. Tracked down all possible occurrences of KeyboardInterrupt and trapped them appropriately. There's still a problem in test_states when using the CherryPyHTTPServer (it hangs during KeyboardInterrupt testing), but all other servers pass. Maybe *this* fixes #321. ;)
Branches
cherrypy
Robert Brewer
Fix for #309 (confusion between threads and requests).
Branches
cherrypy
Remi Delon
Implemented ticket #90 (still need to write docs though)
Branches
cherrypy
Michael Robinson
httperrors branch merged into the trunk, the configuration paramater "showTracebacks" is now "server.showTracebacks"
Branches
cherrypy
John P. Speno
Added cherrypy.request.remotePort; the TCP port from which the client's connection originates. Added this attribute to the book also.
Branches
cherrypy
Robert Brewer
Found another errno to trap in _cpwsgiserver.WorkerThread.run
Branches
cherrypy
Robert Brewer
_cpwsgi might receive a request-uri with spaces (which would break _cphttptools.Request.parseFirstLine), so escape such.
Branches
cherrypy
Robert Brewer
Changed locals "req", "resp" to "request", "response" for better grep-ability.
Branches
cherrypy
Robert Brewer
New "showTracebacks" config option.
Branches
cherrypy
Robert Brewer
Request-URI of "*" can now be served by an exposed "cherrypy.root._global" method.
Branches
cherrypy
Robert Brewer
Fix for ticket #202 (only send tracebacks in development mode).
Branches
cherrypy
Robert Brewer
Better docstrings for _cphttptools, _cpwsgi.
Branches
cherrypy
Robert Brewer
Whew. All tests now pass for all servers in both 1.0 and 1.1 modes. There's also a new assertNoHeader method for webtest.
Branches
cherrypy
Robert Brewer
Even more better error-handling in _cpwsgi.
Branches
cherrypy
Robert Brewer
Added a cherrypy._appserver_state flag. Helps report errors when server.start() has not been called or did not complete normally.
Branches
cherrypy
Robert Brewer
Moved formatExc to _cputil, and cleaned up some imports.
Branches
cherrypy
Robert Brewer
Fix for ticket #199 (HTTPS support). New cherrypy.request.scheme attribute.
Branches
cherrypy
Robert Brewer
Implements ticket #195. 1. cpg module removed, all content moved into cherrypy.__init__. 2. Removed some circular imports in sessionfilter by moving sessionfilter.sessionfilter and _sessionTypes into sessionfilter.__init__. 3. renamed _cpconfig to "config". 4. renamed _cpserver to "server". 5. renamed cperror to _cperror; cherrypy.__init__ now imports * from _cperror.
Branches
cherrypy
Robert Brewer
Implements ticket #185 (easier log function = cpg.log).
Branches
cherrypy
Robert Brewer
Handle all HTTP methods.
Branches
cherrypy
Michael Robinson
getSpecialFunction renamed getSpecialAttribute
Branches
cherrypy
Robert Brewer
Always set cpg.request.method from requestLine, not by the httpservers.
Branches
cherrypy
Robert Brewer
Fixed ticket #174.
Branches
cherrypy
Robert Brewer
1. Set cpg.request.login in _cpwsgi.wsgiApp. 2. Fixed ticket #169. 3. Fixed WSGI server sockets for *nix.
Branches
cherrypy
Robert Brewer
1. Fixed bug in helper: native threaded server was not being instantiated due to missing "threadPool" config item. 2. Fixed bug in cachefilter.
Branches
cherrypy
Robert Brewer
Test suite passes now. Mostly a bug in _cpwsgi error handling. Also, wsgi server threads needed a finally: clause to terminate.
Branches
cherrypy
  1. Prev
  2. 1
  3. 2
  4. 3
  5. Next