summaryrefslogtreecommitdiff
path: root/cherrypy
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactor utf-8 content-disposition filename test casesSviatoslav Sydorenko2020-04-171-3/+6
|
* Add a comment to the quoted file nameSviatoslav Sydorenko2020-04-171-1/+1
|
* Use an in-mem file-like obj in the `/serve_fileobj_utf8_filename` handlerSviatoslav Sydorenko2020-04-171-2/+1
|
* Improve the docstring of `_utf8_content_disposition`Sviatoslav Sydorenko2020-04-171-3/+4
|
* Use :rfc: sphinx role in docstringsSviatoslav Sydorenko2020-04-171-2/+2
|
* Fix serving files with diacritics in name under their original nameJan Rieger2020-04-172-8/+55
| | | | | | | | | | | | This implements adding extra ``filename*`` parameter in Content-disposition header when serving content with non-ASCII filenames. As per RFC 6266 recommendations in the Appendix D. Refs: * https://stackoverflow.com/a/8996249/2173868 * https://tools.ietf.org/html/rfc6266#appendix-D Fixes #1776
* Revert "Fix serving files with diacritics in name under their original name"Jan Rieger2020-04-172-55/+8
| | | | This reverts commit 1741fd9adf70800fd692c24b0d85f5caad6a44e5.
* Fix serving files with diacritics in name under their original nameJan Rieger2020-04-172-8/+55
| | | | | | | | | | | | This implements adding extra ``filename*`` parameter in Content-disposition header when serving content with non-ASCII filenames. As per RFC 6266 recommendations in the Appendix D. Refs: * https://stackoverflow.com/a/8996249/2173868 * https://tools.ietf.org/html/rfc6266#appendix-D Fixes #1776
* Merge branch 'master' into bugfix/1827-headermap-keytypeJason R. Coombs2019-11-271-62/+3
|\
| * Revert "For now inline the implementation until it can be linked. Ref #1673."Jason R. Coombs2019-11-261-62/+3
| | | | | | | | This reverts commit 3bcefda0a5e397e12a6122fd8004cbbbce6a2b15.
* | Reference the underlying issue.Jason R. Coombs2019-11-271-1/+1
| |
* | Avoid converting bytes in header keys to strings. Fixes #1827.Jason R. Coombs2019-11-261-5/+6
|/
* Merge pull request #1715 from sanitec/cherrypyJason R. Coombs2019-11-031-3/+3
|\
| * Ensure 'Response Status' is text and data/ is bytes. Ref #1715.Jason R. Coombs2019-11-031-2/+3
| |
| * Remove tests. Ref #1715Jason R. Coombs2019-11-031-21/+0
| |
| * Inline the getattr operationJason R. Coombs2019-11-031-10/+2
| |
| * cpstats: make 'Response Status' serializableStian Fosterud2018-06-182-3/+31
| | | | | | | | | | | | | | | | Fixes an issue where it wasn't possible to fetch /cpstats/data when running the cpstats tool with Python3. Could potentially also solve the problem by supplying a default function for 'json.dumps', but this solution seems cleaner.
* | Merge pull request #1821 from cherrypy/feature/getPage-passthroughJason R. Coombs2019-11-031-10/+3
|\ \ | | | | | | Pass arguments from CPWebCase.getPage to WebCase.getPage without replicating signature.
| * | Pass arguments from CPWebCase.getPage to WebCase.getPage without replicating ↵Jason R. Coombs2019-10-171-10/+3
| | | | | | | | | | | | signature. Ref #1818.
* | | Fix session tools indents @ cherrypy.lib.cptoolsJared2019-11-031-1/+1
| | |
* | | Fix code blocks syntax in cherrypy._helperJared2019-11-031-31/+39
| | |
* | | Uncomment known bugs items in the modwsgi testJared2019-11-031-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | Sphinx warnings fixed: * cherrypy/test/modwsgi.py:docstring of cherrypy.test.modwsgi:16: WARNING: Unexpected indentation. * cherrypy/test/modwsgi.py:docstring of cherrypy.test.modwsgi:17: WARNING: Block quote ends without a blank line; unexpected unindent. * cherrypy/test/modwsgi.py:docstring of cherrypy.test.modwsgi:25: WARNING: Unexpected indentation. * cherrypy/test/modwsgi.py:docstring of cherrypy.test.modwsgi:28: WARNING: Block quote ends without a blank line; unexpected unindent.
* | | Fix docstring list indentation in test_httpJared2019-11-031-6/+8
| | | | | | | | | | | | | | | Sphinx warnings fixed: * cherrypy/test/test_http.py:docstring of cherrypy.test.test_http.HTTPTests.test_post_filename_with_special_characters:3: WARNING: Unexpected indentation.
* | | Merge commit 'pull/origin/1819'Sviatoslav Sydorenko2019-11-031-11/+10
|\ \ \
| * | | Fix a few minor documentation warningsJay2019-11-031-11/+10
| |/ / | | | | | | | | | | | | | | | | | | | | | Sphinx warnings fixed: * docs/advanced.rst:571: WARNING: Inline interpreted text or phrase reference start-string without end-string. * docs/advanced.rst:573: WARNING: Definition list ends without a blank line; unexpected unindent. * docs/basics.rst:4: WARNING: Duplicate explicit target name: "memcached".
* | | Remove xfail from test_HTTP11_Timeout_after_requestAllan Crooks2019-10-181-1/+0
| | |
* | | Fix test_HTTP11_Timeout_after_request to expect 408 responses in both parts ↵Allan Crooks2019-10-181-5/+3
|/ / | | | | | | of the test.
* | Consolidate error message templateJason R. Coombs2019-10-151-5/+4
| |
* | Mark test as xfail until an assessment can be made. Ref #1817.Jason R. Coombs2019-10-151-0/+1
| |
* | Merge pull request #1806 from cherrypy/feature/1770-log-all-errors-in-hooksv18.3.0Jason R. Coombs2019-10-021-21/+31
|\ \ | | | | | | Emit all errors in hooks
| * | Use Iterator from the proper locationJason R. Coombs2019-09-111-1/+1
| | |
| * | Merge branch 'master' into feature/1770-log-all-errors-in-hooksJason R. Coombs2019-09-1054-1345/+1034
| |\ \
| * | | Rely on the exception handling mechanism to emit tracebacks for all errors ↵Jason R. Coombs2019-09-101-21/+32
| | | | | | | | | | | | | | | | using the multi-exception handling on Python 3. Fixes #1770.
| * | | 🐛✅ Fix pattern matching in test_invalid_statusSviatoslav Sydorenko2019-07-061-5/+8
| | | |
| * | | Fix test_invalid_status to work with pytest 5Sviatoslav Sydorenko2019-07-061-3/+1
| | | | | | | | | | | | Ref: https://github.com/cherrypy/cherrypy/pull/1791#issuecomment-508026879
| * | | Raise correct exception. Fixes linter warnings.Jason R. Coombs2019-06-231-4/+4
| | | |
| * | | Fix test_native to fail on error responsebackport/17.x--bugfix--native-http-server-py3Sviatoslav Sydorenko2019-06-231-1/+4
| | | | | | | | | | | | | | | | | | | | Ref: * https://github.com/cherrypy/cherrypy/pull/1712/files#diff-38455dfb545934fdb8aaae27bbfd32adR33
| * | | Fix native WSGI-less HTTP server supportSviatoslav Sydorenko2019-06-231-10/+18
| | | | | | | | | | | | | | | | Resolves #1377
| * | | Adjust reprconf to match Python 3.8 changesSviatoslav Sydorenko2018-11-231-0/+2
| | | |
* | | | Use mock.patch to avoid mutating global state outside the test.Jason R. Coombs2019-09-221-2/+6
| | | |
* | | | Rewrite the disallowed characters to only disallow newlines, allowing null ↵Jason R. Coombs2019-09-221-0/+3
| |/ / |/| | | | | | | | bytes. Fixes #1781.
* | | Merge branch 'master' into bugfix/1779Jason R. Coombs2019-09-0316-435/+541
|\ \ \
| * | | Stop using deprecated ``assert_``Sviatoslav Sydorenko2019-08-192-2/+2
| | | |
| * | | Stop using deprecated imp module in testsSviatoslav Sydorenko2019-08-191-2/+1
| | | |
| * | | Use atomic dict copy to avoid changed while iterSviatoslav Sydorenko2019-08-188-11/+8
| | | | | | | | | | | | | | | | | | | | | | | | Resolves #1805 Fixes #1803 Closes #1804
| * | | Rewrite test_safe_wait_INADDR_ANY in pure pytestSviatoslav Sydorenko2019-08-141-39/+38
| | | |
| * | | Fix test_safe_wait_INADDR_ANY w/ filterwarningsSviatoslav Sydorenko2019-08-141-6/+5
| | | |
| * | | Refactor test_logging to use pytestSviatoslav Sydorenko2019-08-111-114/+191
| | | |
| * | | Make logtest helper use pytestSviatoslav Sydorenko2019-08-111-2/+5
| | | |
| * | | Fix test_tracebacks logging testSviatoslav Sydorenko2019-08-111-2/+1
| | | |