CherryPy / cherrypy / test / test_encoding.py

Author Commit Message Labels Comments Date
Robert Brewer avatarRobert Brewer
Took out wsgiserver in favor of the cheroot fork.
Branches
wspb
Robert Brewer avatarRobert Brewer
Bye bye, py2/3.
Robert Brewer avatarRobert Brewer
More Python 2.3 fixes.
Robert Brewer avatarRobert Brewer
Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away.
Default avatar jaraco
Merged r2715 from /branches/cherrypy-3.0.x. This test case doesn't fail in trunk, but I'm keeping it for regression prevention.
Robert Brewer avatarRobert Brewer
Removed test.py etc.
Robert Brewer avatarRobert Brewer
Test and fix for #980 (tools.encode(text_only=False, add_charset=True) fails in ResponseEncoder.__call__ (patch included)).
Default avatar 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.
Robert Brewer avatarRobert Brewer
sync with python3, including separation of InternalRedirect handling and Exception trapping to WSGI middleware.
Robert Brewer avatarRobert Brewer
trunk: some merges from python3.
Robert Brewer avatarRobert Brewer
Fix for #946 (Problem with encoded text in multipart/form-data). Reworked the structure for attempting various charsets when decoding request entities. New 'decode' Tool which is backward-compatible with the one in 3.1.
Robert Brewer avatarRobert Brewer
Removed py3print.
Default avatar Lakin Wecker
trunk - more changes to bring the two branches into a more similar state - this time normalizing StringIO imports.
Robert Brewer avatarRobert Brewer
Fixed broken gzip test.
Robert Brewer avatarRobert Brewer
Brought trunk up to par with the encoding changes from the python3 branch.
Default avatar klarson
Fixed gzip tests to comply with the Vary header changes http://cherrypy.org/ticket/770
Robert Brewer avatarRobert 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 avatarRobert Brewer
Silenced some long-known test disparities when using Apache as the server in a separate process.
Robert Brewer avatarRobert Brewer
Fixed test suites to match [2069].
Default avatar Christian Wyglendowski
Committed Python 2.6/2.5.2 WSGI server compatibility patch from Lawouach and myself (see #837).
Robert Brewer avatarRobert Brewer
Fix for #832 (Failure in test_encoding). I'm reasonably sure this is what we want.
Robert Brewer avatarRobert Brewer
utf8 decode test.
Robert Brewer avatarRobert Brewer
Fix for #820 (start_response with exc_info raises exception even if no output was sent yet). This also fixes related issues in cpwsgi and error output in general.
Robert Brewer avatarRobert Brewer
Docstrings and a test tweak.
Robert Brewer avatarRobert Brewer
Forward port to trunk from 3.0.x [1703]. Added checking of 'Vary' header before responding with cached content.
Robert Brewer avatarRobert Brewer
Better use of tools.encode.encoding.
Robert Brewer avatarRobert Brewer
Consolidated gzip, encoding tests.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.