Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 🎨 Upgrade pydocstyle to the recent version | Sviatoslav Sydorenko | 2023-01-05 | 1 | -5/+7 |
| | |||||
* | Reflow the comment in _make_content_disposition | Sviatoslav Sydorenko | 2020-04-17 | 1 | -6/+6 |
| | | | | This fixes the lines exceeding 79 chars limit | ||||
* | Fix typos in all NFKC references | Sviatoslav Sydorenko | 2020-04-17 | 1 | -3/+3 |
| | |||||
* | Move normalization algorithm description from docstring to code comments. | Jan Rieger | 2020-04-17 | 1 | -8/+7 |
| | |||||
* | Change normalization algorithm to `NKFC` and add docstring for this solution | Jan Rieger | 2020-04-17 | 1 | -1/+9 |
| | |||||
* | Use normal string literals instead of u-prefixed ones | Sviatoslav Sydorenko | 2020-04-17 | 1 | -2/+2 |
| | |||||
* | Add condition to prevent pass `filename*` when it's equal with original ↵ | Jan Rieger | 2020-04-17 | 1 | -2/+3 |
| | | | | `filename` | ||||
* | Rename `_utf8_content_disposition` to `_make_content_disposition` | Sviatoslav Sydorenko | 2020-04-17 | 1 | -3/+3 |
| | |||||
* | Improve the docstring of `_utf8_content_disposition` | Sviatoslav Sydorenko | 2020-04-17 | 1 | -3/+4 |
| | |||||
* | Use :rfc: sphinx role in docstrings | Sviatoslav Sydorenko | 2020-04-17 | 1 | -2/+2 |
| | |||||
* | Fix serving files with diacritics in name under their original name | Jan Rieger | 2020-04-17 | 1 | -8/+26 |
| | | | | | | | | | | | | 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 Rieger | 2020-04-17 | 1 | -26/+8 |
| | | | | This reverts commit 1741fd9adf70800fd692c24b0d85f5caad6a44e5. | ||||
* | Fix serving files with diacritics in name under their original name | Jan Rieger | 2020-04-17 | 1 | -8/+26 |
| | | | | | | | | | | | | 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 | ||||
* | Remove reliance on six | Jason R. Coombs | 2018-09-02 | 1 | -2/+1 |
| | |||||
* | Use bytes literals where appropriatev14.0.0 | Jason R. Coombs | 2018-02-04 | 1 | -3/+3 |
| | |||||
* | Wrap MIME-type init into a function definition | Sviatoslav Sydorenko | 2017-12-12 | 1 | -6/+11 |
| | |||||
* | Adjust indentation in cherrypy.lib.static | Sviatoslav Sydorenko | 2017-12-12 | 1 | -1/+1 |
| | |||||
* | Correcting the initialization of the mimetypes library | Johan De Taeye | 2017-12-11 | 1 | -1/+2 |
| | |||||
* | Use platform.system for platform detection. Update docstring to include an ↵ | Jason R. Coombs | 2017-10-28 | 1 | -5/+7 |
| | | | | authoritative reference. | ||||
* | File in sub-dir of staticdir in long-path notation would not load | Safihre | 2017-10-15 | 1 | -0/+7 |
| | |||||
* | Fix email.generator._make_boundary compat import | Sviatoslav Sydorenko | 2017-08-11 | 1 | -6/+1 |
| | | | | Reported by lgtm.com | ||||
* | Fix io.UnsupportedOperation reported by lgtm.com | Sviatoslav Sydorenko | 2017-08-11 | 1 | -4/+1 |
| | |||||
* | Make cherrypy.lib.static PEP 257 compliant | Sviatoslav Sydorenko | 2017-08-11 | 1 | -2/+2 |
| | |||||
* | Rely on six for urllib moves. | Jason R. Coombs | 2017-07-09 | 1 | -2/+4 |
| | |||||
* | Convert all strings to conform single-quoted style | Sviatoslav Sydorenko | 2016-09-08 | 1 | -28/+28 |
| | | | | pre-commit run double-quote-string-fixer --all-files | ||||
* | Also include ValueError. Fixes failing test on Python 3.5. | Jason R. Coombs | 2015-12-19 | 1 | -1/+4 |
| | |||||
* | Returning HTTP 404 for static serving when the requested path has null bytes | Diogo Baeder | 2015-12-17 | 1 | -1/+1 |
| | |||||
* | Reorganize imports to conform to convention | Jason R. Coombs | 2014-09-13 | 1 | -9/+11 |
| | |||||
* | Remove unused imports | Jason R. Coombs | 2014-09-13 | 1 | -2/+0 |
| | |||||
* | More PEP8 work. | Gustavo Picon | 2014-01-12 | 1 | -10/+17 |
| | |||||
* | Running: autopep8 -vvvvv -i `find . -name '*.py'` | Gustavo Picon | 2014-01-12 | 1 | -10/+18 |
| | | | | | --HG-- branch : autopep8 | ||||
* | Removed trailing whitespace from the codebase. | Gustavo Picon | 2012-04-03 | 1 | -38/+38 |
| | | | | sed -i '' -e 's/ *$//' `find cherrypy -name '*.py'` | ||||
* | Bye bye, py2/3. | Robert Brewer | 2011-07-02 | 1 | -0/+363 |
| | |||||
* | Bringing python3 back into trunk with its own py3 folder; what was in trunk ↵trunk | Robert Brewer | 2011-02-25 | 1 | -352/+0 |
| | | | | goes in the py2 folder, and we can use a single setup.py to install either, depending on the version of Python that runs setup.py install. | ||||
* | Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away. | Robert Brewer | 2011-02-24 | 1 | -11/+11 |
| | |||||
* | Sphinx docs (rsts) for rest of cherrypy.lib.* | chbrown | 2010-02-24 | 1 | -18/+24 |
| | |||||
* | Final fix for #915 (Add "debug=False" arg to builtin Tools). | Robert Brewer | 2009-08-06 | 1 | -14/+65 |
| | |||||
* | All internals now use cherrypy.serving.request/response instead of ↵ | Robert Brewer | 2009-06-22 | 1 | -13/+15 |
| | | | | request/response for a speed boost. | ||||
* | Added a cautionary note to the docstring for serve_fileobj(), regarding the ↵ | visteya | 2009-06-10 | 1 | -0/+7 |
| | | | | seek() performed on the file object when the request has a 'Range' header, and how this may result in incorrect behavior. | ||||
* | More syncs with python3. | Robert Brewer | 2009-06-09 | 1 | -2/+2 |
| | |||||
* | static.serve_fileobj: Allow file-like objects that have no 'fileno' attribute. | Robert Brewer | 2009-06-07 | 1 | -9/+12 |
| | |||||
* | New static.serve_fileobj function. | Robert Brewer | 2009-06-07 | 1 | -16/+57 |
| | |||||
* | trunk: A bunch more alignments between trunk and python3 syntax. | Robert Brewer | 2009-06-02 | 1 | -1/+1 |
| | |||||
* | trunk - Porting the cherrypy.lib.httputil name change. It'll be easier to ↵ | Lakin Wecker | 2009-05-31 | 1 | -3/+3 |
| | | | | maintain two released branches if the modules are named the same. However, in the 2.6 branch we'll leave cherrypy.lib.http working and deprecate it for 3.3. | ||||
* | Fix for #879 (static.serve_file() should use "application/octet-stream" if ↵ | Robert Brewer | 2009-03-18 | 1 | -2/+3 |
| | | | | it can't determine Content-Type). | ||||
* | Added the mimetypes mentioned in #879. | Robert Brewer | 2009-03-18 | 1 | -0/+2 |
| | |||||
* | Now that error_log defaults to INFO, we can emit a DEBUG message once in a ↵ | Robert Brewer | 2009-02-25 | 1 | -0/+4 |
| | | | | great while (but not too many; they're still slow even if they never emit). | ||||
* | Long-standing misfeature: staticdir/file should only answer to GET/HEAD. | Robert Brewer | 2009-02-25 | 1 | -0/+6 |
| | |||||
* | New test for streaming static files. | Robert Brewer | 2009-02-10 | 1 | -8/+7 |
| | |||||
* | Change lib.static.serve_file() to use a file generator for requests with ↵ | visteya | 2008-09-28 | 1 | -3/+6 |
| | | | | Ranges, rather than read entire range into memory. Closes #859. |