Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "🔧 Stop using the `cgi` stdlib module" | Sviatoslav Sydorenko | 2023-01-09 | 1 | -7/+2 |
| | | | | This reverts commit 6b7c2cdc91ca5ba1f6cf3e5d9e8e386266c64ce6. | ||||
* | 🔧 Stop using the `cgi` stdlib module | Sviatoslav Sydorenko | 2023-01-05 | 1 | -2/+7 |
| | | | | This module is deprecated since Python 3.11. | ||||
* | Introduce SanitizedHost wrapper. Fixes #1974. | Jason R. Coombs | 2022-07-17 | 1 | -0/+30 |
| | |||||
* | Merge branch 'master' into bugfix/1827-headermap-keytype | Jason R. Coombs | 2019-11-27 | 1 | -62/+3 |
|\ | |||||
| * | Revert "For now inline the implementation until it can be linked. Ref #1673." | Jason R. Coombs | 2019-11-26 | 1 | -62/+3 |
| | | | | | | | | This reverts commit 3bcefda0a5e397e12a6122fd8004cbbbce6a2b15. | ||||
* | | Reference the underlying issue. | Jason R. Coombs | 2019-11-27 | 1 | -1/+1 |
| | | |||||
* | | Avoid converting bytes in header keys to strings. Fixes #1827. | Jason R. Coombs | 2019-11-26 | 1 | -5/+6 |
|/ | |||||
* | Don't convert bytes headers to str | Sviatoslav Sydorenko | 2018-09-05 | 1 | -1/+1 |
|\ | | | | | PR #1736 by @tobiashenkel | ||||
| * | Don't convert bytes headers to str | Tobias Henkel | 2018-09-04 | 1 | -1/+1 |
| | | | | | | | | | | Don't convert bytes header values using str() as str(b'foo') becomes "b'foo'". Instead just leave bytes as is like it was prior to v18.0.0. | ||||
* | | Use urllib.parse | Jason R. Coombs | 2018-09-04 | 1 | -1/+1 |
|/ | |||||
* | Remove more references to six in doctest | Jason R. Coombs | 2018-09-02 | 1 | -5/+5 |
| | |||||
* | Remove reliance on six | Jason R. Coombs | 2018-09-02 | 1 | -17/+12 |
| | |||||
* | Consolidate header item encoding. | Jason R. Coombs | 2018-08-19 | 1 | -14/+11 |
| | |||||
* | Reorder operations | Jason R. Coombs | 2018-08-19 | 1 | -3/+3 |
| | |||||
* | Use 'string_types' when encoding headers. | Jason R. Coombs | 2018-08-19 | 1 | -3/+2 |
| | |||||
* | Replace the one use of unquote_qs with invocations of the stdlib functions. | Jason R. Coombs | 2018-08-13 | 1 | -3/+3 |
| | |||||
* | Fail with HTTP 400 for invalid headers | Sviatoslav Sydorenko | 2018-05-28 | 1 | -1/+16 |
| | | | | | | | | | | Test malformed Accept-Charset quality values. Fixes #1370 Closes #1707 Co-authored-by: Zach Seils (seils) <seils@cisco.com> Co-authored-by: Zach Seils <zachseils@gmail.com> | ||||
* | Use bytes literals where appropriatev14.0.0 | Jason R. Coombs | 2018-02-04 | 1 | -5/+5 |
| | |||||
* | Merge branch 'master' into feature/reuse-case-insensitive-dict | Jason R. Coombs | 2017-12-17 | 1 | -11/+10 |
|\ | |||||
| * | Get cmp from builtins | Jason R. Coombs | 2017-10-29 | 1 | -4/+4 |
| | | |||||
| * | Honor E302 | Jason R. Coombs | 2017-10-29 | 1 | -1/+3 |
| | | |||||
| * | Regarding E305, honor the style guide rather than suppressing errors. | Jason R. Coombs | 2017-10-29 | 1 | -1/+2 |
| | | |||||
| * | Python2.7 exposes header module as email.header | Jason R. Coombs | 2017-10-28 | 1 | -5/+1 |
| | | |||||
* | | For now inline the implementation until it can be linked. Ref #1673. | Jason R. Coombs | 2017-12-17 | 1 | -3/+62 |
| | | |||||
* | | Use jaraco.collections for code re-use on CaseInsensitiveDict. Fixes #1231. | Jason R. Coombs | 2017-10-28 | 1 | -37/+6 |
|/ | |||||
* | Remove long-deprecated legacy 'has_any' methods on mappings. | Jason R. Coombs | 2017-10-28 | 1 | -4/+0 |
| | |||||
* | Add doctest for cherrypy.lib.httputil.valid_status | Sviatoslav Sydorenko | 2017-10-20 | 1 | -0/+7 |
| | |||||
* | Refactor docstring of cp.lib.httputil.valid_status | Sviatoslav Sydorenko | 2017-10-20 | 1 | -3/+4 |
| | |||||
* | Improve invalid status checks | Sviatoslav Sydorenko | 2017-10-20 | 1 | -1/+1 |
| | |||||
* | Fix for http.client status codes. | Aric Coady | 2017-10-19 | 1 | -9/+4 |
| | |||||
* | Create function for conditionally decoding the text | Jason R. Coombs | 2017-09-26 | 1 | -0/+7 |
| | |||||
* | Convert doc to doctest | Jason R. Coombs | 2017-09-26 | 1 | -1/+6 |
| | |||||
* | Mark docstrings with slash escaping as raw str (PR #1610 by @scop) | Ville Skyttä | 2017-07-10 | 1 | -1/+1 |
| | | | | * https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior (Python 3.6 invalid escape sequence deprecation) | ||||
* | Just use range as if on Python 3 | Jason R. Coombs | 2017-07-09 | 1 | -2/+3 |
| | |||||
* | Use six for http imports | Jason R. Coombs | 2017-07-09 | 1 | -1/+2 |
| | |||||
* | Remove 'sorted' and 'reversed' from _cp_compat | Jason R. Coombs | 2017-07-09 | 1 | -1/+1 |
| | |||||
* | Replace iteritems with six usage. | Jason R. Coombs | 2017-07-08 | 1 | -2/+2 |
| | |||||
* | PEP8fy codebase: eliminated F821 flake8 error | Sviatoslav Sydorenko | 2017-03-12 | 1 | -5/+5 |
| | |||||
* | PEP8fy codebase: eliminated E111 flake8 error | Sviatoslav Sydorenko | 2017-03-11 | 1 | -2/+2 |
| | |||||
* | PEP8fy codebase: eliminated E302 flake8 error | Sviatoslav Sydorenko | 2017-03-11 | 1 | -1/+1 |
| | |||||
* | PEP8fy codebase: eliminated E305 flake8 error | Sviatoslav Sydorenko | 2017-03-11 | 1 | -1/+1 |
| | |||||
* | fixed a bunch of documentation warnings | Rick van Hattem | 2017-02-07 | 1 | -1/+1 |
| | |||||
* | Convert all strings to conform single-quoted style | Sviatoslav Sydorenko | 2016-09-08 | 1 | -33/+33 |
| | | | | pre-commit run double-quote-string-fixer --all-files | ||||
* | Fix E402 in lib/httputil | Sviatoslav Sydorenko | 2016-09-08 | 1 | -8/+8 |
| | |||||
* | Use decorators where appropriate. | Jason R. Coombs | 2016-08-03 | 1 | -7/+8 |
| | |||||
* | Use the preferred name text_or_bytes to avoid conflation with 'basestring' ↵ | Jason R. Coombs | 2016-07-24 | 1 | -2/+2 |
| | | | | which has no equivalent on Python 3. | ||||
* | Use correct, but poorly-named parameter. | Jason R. Coombs | 2016-07-24 | 1 | -1/+1 |
| | |||||
* | Move HTTPDate to httputil, where it's actually exposed. | Jason R. Coombs | 2016-07-24 | 1 | -1/+6 |
| | |||||
* | Replaced 'unicodestr' with 'six.text_type' | Jason R. Coombs | 2016-06-05 | 1 | -4/+6 |
| | |||||
* | Remove use of bytestr and nativestr, which can be represented by 'bytes' and ↵ | Jason R. Coombs | 2016-06-05 | 1 | -2/+2 |
| | | | | 'str' respectively now that Python 2.5 is not supported. |