Source

CherryPy / cherrypy / test / test_conn.py

Author Commit Message Labels Comments Date
Michiel Overtoom
Fix ticket URLs from http://www.cherrypy.org/ticket/XYZ to https://bitbucket.org/cherrypy/cherrypy/issue/XYZ
Robert Brewer
Bye bye, py2/3.
Robert Brewer
Last few 3.2 tweaks
Robert Brewer
Implemented WSGI 1.0.1's requirement to not send more than Content-Length bytes. Includes 2 tests.
Robert Brewer
Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away.
Robert Brewer
Fixed some broken tests, including a nasty wsgiserver bug.
Robert Brewer
Removed test.py etc.
Joseph Tate
Convert the tests to use nose instead of our own runner. This strips out much coverage and profiling (handled by nose) and lets you focus on writing tests. The biggest changes that have to be done in the tests classes is you have to put the "setup_server" method on the class(es) that need them when running. If you need it for multiple classes, you can use staticmethod() to attach it to multiple classes without using inheritance.
Robert Brewer
sync with python3, including separation of InternalRedirect handling and Exception trapping to WSGI middleware.
Robert Brewer
Merged the 'gateways' branch into trunk.
Robert Brewer
Fix for #951 (Content-Length breaks curl on 100-Continue) for 3.0, 3.1, 3.2 trunk.
Robert Brewer
Removed py3print.
Robert Brewer
trunk: A bunch more alignments between trunk and python3 syntax.
Lakin Wecker
trunk - bringing in some more sophisticated tests - this adds one failing test. But I'm not sure how to fix it and my brain isn't working anymore
Lakin Wecker
trunk - adding a py3util module that will normalize as many differences between this branch and the python3 branch as it can. First it includes a py3print call who's signature matches that of print in python3. Also removed a few byte strings of the form b''
Robert Brewer
Moved "environment: test_suite" out of individual tests and into helper.py. Moved setup_server() call out of individual tests and into helper.py. Added a new test for per-handler max_request_body_size shenanigans.
Robert Brewer
New CRLF test, plus some test suite fixes.
Robert Brewer
Test and fix for #864 (response.stream and HEAD method).
Robert Brewer
WOOHOO. Fixed test_conn on nix.
Robert Brewer
Trying a fix for the test_conn failures on nix.
Robert Brewer
Fix for #823 (Automatic comparison of content-length and max_request_body_size).
Robert Brewer
Test and fix for #810 (Add 408 responses).
Robert Brewer
Test and fix for #819 (Request body not consumed on error when max_request_body_size is 0).
Robert Brewer
Another HTTP/1.0 test fix.
Robert Brewer
Make test for #598 pass with --ssl.
Lakin Wecker
Adding a test to expose the bug described in #598. When I run test_conn.py in python2.4 the test fails in OSX, when I run the test in python2.5 in osx the test passes.
Robert Brewer
Reverting a change to test_conn. It really needs to pass with blocking sockets.
Robert Brewer
Timeout fix to test_conn.
Robert Brewer
Trunk fix for #752 (Return cherrypy.server to a single-server model): 1. Change restsrv.servers.ServerManager (multiple httpservers) to ServerAdapter (one httpserver). 2. cherrypy.server is now a subclass of ServerAdapter, and is subscribed by default. 3. Made several plugin methods idempotent that weren't before. 4. Added names to win32 bus state events. Also fixed a buglet in win32 block(). 5. Added repr to wspbus.states.State objects. 6. Did ''not'' change …
Robert Brewer
Fix for #622, #742, #736. The wsgiserver would respond without closing connection and without reading the full request. Fixed now.
  1. Prev
  2. 1
  3. 2
  4. Next