Source

CherryPy / cherrypy / _cpwsgi.py

Author Commit Message Labels Comments Date
Robert Brewer
New signature for cherrypy.log.
Robert Brewer
Fix for #186 (allow exceptions to escape CP and up into WSGI middleware).
Remi Delon
Big change: camelCase to lower_with_underscore names (still need to update the book)
Robert Brewer
Fix for the fix for #311 (onEndRequest method). {{{__del__}}} cannot work, since it might be called after the thread has already begun processing another request.
Robert Brewer
Fix for #388 (IPv6 support). While I was up to my elbows in the HTTP servers, I went ahead and: 1. Implemented MaxSize limits in _cphttpserver 2. Made PooledThreadServer a subclass of CherryHTTPServer, which consolidated a lot of features that each had which the other didn't, including AF_UNIX support. 3. Implemented AF_UNIX support for _cpwsgiserver. 4. Pulled the MaxSize logic out of _cpwsgiserver completely; the upshot is that both server interfaces can now use the same wrapper (now i…
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.
Robert Brewer
Fix for #374 (reduce license boilerplate to a single LICENSE.txt file).
Robert Brewer
Fix for #356 (formalize server.environment as a set of config defaults). New server.logFileNotFound boolean.
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.
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. ;)
Robert Brewer
Fix for #309 (confusion between threads and requests).
Remi Delon
Implemented ticket #90 (still need to write docs though)
Michael Robinson
httperrors branch merged into the trunk, the configuration paramater "showTracebacks" is now "server.showTracebacks"
John P. Speno
Added cherrypy.request.remotePort; the TCP port from which the client's connection originates. Added this attribute to the book also.
Robert Brewer
Found another errno to trap in _cpwsgiserver.WorkerThread.run
Robert Brewer
_cpwsgi might receive a request-uri with spaces (which would break _cphttptools.Request.parseFirstLine), so escape such.
Robert Brewer
Changed locals "req", "resp" to "request", "response" for better grep-ability.
Robert Brewer
New "showTracebacks" config option.
Robert Brewer
Request-URI of "*" can now be served by an exposed "cherrypy.root._global" method.
Robert Brewer
Fix for ticket #202 (only send tracebacks in development mode).
Robert Brewer
Better docstrings for _cphttptools, _cpwsgi.
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.
Robert Brewer
Even more better error-handling in _cpwsgi.
Robert Brewer
Added a cherrypy._appserver_state flag. Helps report errors when server.start() has not been called or did not complete normally.
Robert Brewer
Moved formatExc to _cputil, and cleaned up some imports.
Robert Brewer
Fix for ticket #199 (HTTPS support). New cherrypy.request.scheme attribute.
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.
Robert Brewer
Implements ticket #185 (easier log function = cpg.log).
Robert Brewer
Handle all HTTP methods.
Michael Robinson
getSpecialFunction renamed getSpecialAttribute
  1. Prev
  2. 1
  3. 2
  4. Next