Source

CherryPy / cherrypy / _cphttpserver.py

Author Commit Message Labels Comments Date
Robert Brewer
Ugly fix for #321. cherrypy.server could really use some encapsulation now.
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
More server state tests and fixes:
Robert Brewer
Removed redundant KeyboardInterrupt/SystemExit traps in _cphttpserver (server.py traps them).
John P. Speno
Removing a few unused import statements.
Robert Brewer
Fix for #318, #322 and #323.
Robert Brewer
Fix for #309 (confusion between threads and requests).
John P. Speno
Added cherrypy.request.remotePort; the TCP port from which the client's
Robert Brewer
1. Native HTTP servers weren't really callable via server.run_server's serverClass param, since they required arguments. embedded_server was a hack around that, but the better solution is to make them parameterless. Done now.
Robert Brewer
Fix for ticket #202 (only send tracebacks in development mode).
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
The native HTTP server now handles 1.1 responses by explicitly closing the connection on each request, and sending "Connection: close".
Robert Brewer
Fixes for ticket #226.
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.
Robert Brewer
Implements ticket #185 (easier log function = cpg.log).
Robert Brewer
Handle all HTTP methods.
Michael Robinson
getSpecialFunction renamed getSpecialAttribute
Robert Brewer
Merged new test suite from branches/ticket-177 into trunk.
Robert Brewer
Always set cpg.request.method from requestLine, not by the httpservers.
Robert Brewer
1. Fixed bug in helper: native threaded server was not being instantiated due to missing "threadPool" config item.
Robert Brewer
1. Still fixing tests. All now pass except testObjectMapping.
Robert Brewer
Test suite passes now. Mostly a bug in _cpwsgi error handling. Also, wsgi server threads needed a finally: clause to terminate.
Robert Brewer
Merged branches/ticket-151 into trunk. See CHANGELOG and the branch logs for details.
Remi Delon
Now using "unrepr" to read config file;
Peter Hunt
- fix for parse_qs #141
Remi Delon
Another big change: Changed config system; Added default filters; See http://www.cherrypy.org/wiki/WhatsNewIn21 ; Added tests for filters
Remi Delon
Changed the config API
Remi Delon
Big change: new config system (see http://www.cherrypy.org/wiki/ConfigSystem21)
  1. Prev
  2. 1
  3. 2
  4. Next