Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Raise correct exception. Fixes linter warnings.v18.1.0 | Jason R. Coombs | 2018-12-09 | 1 | -4/+4 |
| | |||||
* | Adjust reprconf to match Python 3.8 changes | Sviatoslav Sydorenko | 2018-09-30 | 1 | -0/+2 |
| | |||||
* | Wipe out legacy unrepr builder targeting Python 2 | Sviatoslav Sydorenko | 2018-09-30 | 1 | -124/+5 |
| | |||||
* | Avoid hard-coded address in memcache sessions | Jason R. Coombs | 2018-09-09 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | | Remove references to threading._* in Python 3.2 and earlier. | Jason R. Coombs | 2018-09-04 | 1 | -3/+2 |
| | | |||||
* | | Use urllib.parse | Jason R. Coombs | 2018-09-04 | 1 | -1/+1 |
| | | |||||
* | | Move json from _cpcompat to its own module. | Jason R. Coombs | 2018-09-04 | 2 | -4/+5 |
|/ | |||||
* | Remove more references to six in doctest | Jason R. Coombs | 2018-09-02 | 1 | -5/+5 |
| | |||||
* | Remove reliance on contextlib2 | Jason R. Coombs | 2018-09-02 | 1 | -3/+2 |
| | |||||
* | Remove reliance on six | Jason R. Coombs | 2018-09-02 | 11 | -53/+31 |
| | |||||
* | Consolidate prepare_iter behavior | Jason R. Coombs | 2018-08-19 | 1 | -13/+24 |
| | |||||
* | 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 |
| | |||||
* | Simply import | Jason R. Coombs | 2018-08-17 | 1 | -4/+4 |
| | |||||
* | Use six for configparser import | Jason R. Coombs | 2018-08-17 | 1 | -9/+3 |
| | |||||
* | Remove meaningless unreachable code | Jason R. Coombs | 2018-08-17 | 1 | -5/+0 |
| | |||||
* | Consolidate as_dict behavior. | Jason R. Coombs | 2018-08-17 | 1 | -19/+13 |
| | |||||
* | Replace lockfile with zc.lockfile. Ref #1193. | Jason R. Coombs | 2018-08-14 | 2 | -148/+13 |
| | |||||
* | Merge branch 'master' | Jason R. Coombs | 2018-08-14 | 4 | -75/+91 |
|\ | |||||
| * | Replace the one use of unquote_qs with invocations of the stdlib functions. | Jason R. Coombs | 2018-08-13 | 1 | -3/+3 |
| | | |||||
| * | Correctly decode utf-8 digest authorization header | Sviatoslav Sydorenko | 2018-06-18 | 1 | -13/+4 |
| | | | | | | | | Fixes #1717 | ||||
| * | Fix URI decoding for auth_digest | Bernhard Fisseni | 2018-06-18 | 1 | -1/+1 |
| | | | | | | | | decoding URIs in auth header breaks e.g. if it contains slashes | ||||
| * | Return 401 on incorrect authorization supplied. Fixes #1719. | Jason R. Coombs | 2018-06-17 | 1 | -4/+13 |
| | | |||||
| * | trace fits on one line now | Jason R. Coombs | 2018-06-17 | 1 | -2/+1 |
| | | |||||
| * | Use a partial to bind the parameters in one place. | Jason R. Coombs | 2018-06-17 | 1 | -10/+12 |
| | | |||||
| * | Extract a function for the 401 response | Jason R. Coombs | 2018-06-17 | 1 | -54/+56 |
| | | |||||
| * | Replace assertions with explicit raises, just in case the environment is ↵ | Jason R. Coombs | 2018-06-17 | 1 | -5/+10 |
| | | | | | | | | optimized. | ||||
| * | Flatten digest_auth by using assertions. | Jason R. Coombs | 2018-06-17 | 1 | -33/+41 |
| | | |||||
| * | Minor grammatical edits | Jason R. Coombs | 2018-06-17 | 1 | -6/+6 |
| | | |||||
| * | Merge branch 'master' of https://github.com/cherrypy/cherrypy into ↵ | Jason R. Coombs | 2018-06-16 | 1 | -2/+2 |
| |\ | | | | | | | | | | feature/auth-refactor | ||||
| | * | Enhance comment and use generator expression to traverse IPs. | Jason R. Coombs | 2018-06-16 | 1 | -2/+2 |
| | | | |||||
| * | | Replace ntob(tonative(bytes)) with just bytes | Jason R. Coombs | 2018-05-29 | 1 | -3/+3 |
| | | | |||||
| * | | Rewrite _try_decode to naturally raise an error on the last attempt. | Jason R. Coombs | 2018-05-29 | 1 | -9/+5 |
| | | | |||||
| * | | Extract _try_decode function | Jason R. Coombs | 2018-05-29 | 1 | -11/+15 |
| |/ | |||||
* | | Add extra explanation for _cache.delete() | Martin van Es | 2018-06-06 | 1 | -4/+4 |
| | | |||||
* | | Rewrite comments with some punctuation to make it read more clearly. I still ↵ | Jason R. Coombs | 2018-06-06 | 1 | -0/+1 |
| | | | | | | | | don't understand why deleting the cache is necessary. The previous comment said 'an empty response will be cached', but that seems inconsistent with the 'if body' block. | ||||
* | | Rewrite comments with some punctuation to make it read more clearly. I still ↵ | Jason R. Coombs | 2018-06-06 | 1 | -5/+7 |
| | | | | | | | | don't understand why deleting the cache is necessary. The previous comment said 'an empty response will be cached', but that seems inconsistent with the 'if body' block. | ||||
* | | Fix static file cached 304 response | Martin van Es | 2018-06-06 | 1 | -4/+10 |
|/ | |||||
* | 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> | ||||
* | Fix property setters | Sviatoslav Sydorenko | 2018-05-26 | 1 | -1/+1 |
| | |||||
* | Upgrade @property decorator syntax | Sviatoslav Sydorenko | 2018-05-26 | 1 | -2/+4 |
| | |||||
* | Drop deprecated basic_auth and digest_auth | Sviatoslav Sydorenko | 2018-05-21 | 2 | -516/+0 |
| | | | | | | Also remove ``httpauth`` module Resolves #1688 | ||||
* | Add tools.auth_digest.accept_charset to examples | Sviatoslav Sydorenko | 2018-04-22 | 1 | -0/+1 |
| | |||||
* | Add tools.auth_basic.accept_charset to examples | Sviatoslav Sydorenko | 2018-04-22 | 1 | -0/+1 |
| | |||||
* | Add support for UTF-8 in auth_digest tool | Sviatoslav Sydorenko | 2018-04-22 | 1 | -12/+73 |
| | |||||
* | Use ISO-8859-1 as a fallback charset for creds | Sviatoslav Sydorenko | 2018-04-22 | 1 | -4/+16 |
| | | | | | | Almost all modern browsers either have crappy support of RFC7617 or don't support it at all. Perhaps only Google Chrome and curl are good citizens. | ||||
* | Fix unicode under Python 2 | Sviatoslav Sydorenko | 2018-04-22 | 1 | -1/+4 |
| |