summaryrefslogtreecommitdiff
path: root/cherrypy/lib
Commit message (Collapse)AuthorAgeFilesLines
* Raise correct exception. Fixes linter warnings.v18.1.0Jason R. Coombs2018-12-091-4/+4
|
* Adjust reprconf to match Python 3.8 changesSviatoslav Sydorenko2018-09-301-0/+2
|
* Wipe out legacy unrepr builder targeting Python 2Sviatoslav Sydorenko2018-09-301-124/+5
|
* Avoid hard-coded address in memcache sessionsJason R. Coombs2018-09-091-1/+1
|
* Don't convert bytes headers to strSviatoslav Sydorenko2018-09-051-1/+1
|\ | | | | PR #1736 by @tobiashenkel
| * Don't convert bytes headers to strTobias Henkel2018-09-041-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. Coombs2018-09-041-3/+2
| |
* | Use urllib.parseJason R. Coombs2018-09-041-1/+1
| |
* | Move json from _cpcompat to its own module.Jason R. Coombs2018-09-042-4/+5
|/
* Remove more references to six in doctestJason R. Coombs2018-09-021-5/+5
|
* Remove reliance on contextlib2Jason R. Coombs2018-09-021-3/+2
|
* Remove reliance on sixJason R. Coombs2018-09-0211-53/+31
|
* Consolidate prepare_iter behaviorJason R. Coombs2018-08-191-13/+24
|
* Consolidate header item encoding.Jason R. Coombs2018-08-191-14/+11
|
* Reorder operationsJason R. Coombs2018-08-191-3/+3
|
* Use 'string_types' when encoding headers.Jason R. Coombs2018-08-191-3/+2
|
* Simply importJason R. Coombs2018-08-171-4/+4
|
* Use six for configparser importJason R. Coombs2018-08-171-9/+3
|
* Remove meaningless unreachable codeJason R. Coombs2018-08-171-5/+0
|
* Consolidate as_dict behavior.Jason R. Coombs2018-08-171-19/+13
|
* Replace lockfile with zc.lockfile. Ref #1193.Jason R. Coombs2018-08-142-148/+13
|
* Merge branch 'master'Jason R. Coombs2018-08-144-75/+91
|\
| * Replace the one use of unquote_qs with invocations of the stdlib functions.Jason R. Coombs2018-08-131-3/+3
| |
| * Correctly decode utf-8 digest authorization headerSviatoslav Sydorenko2018-06-181-13/+4
| | | | | | | | Fixes #1717
| * Fix URI decoding for auth_digestBernhard Fisseni2018-06-181-1/+1
| | | | | | | | decoding URIs in auth header breaks e.g. if it contains slashes
| * Return 401 on incorrect authorization supplied. Fixes #1719.Jason R. Coombs2018-06-171-4/+13
| |
| * trace fits on one line nowJason R. Coombs2018-06-171-2/+1
| |
| * Use a partial to bind the parameters in one place.Jason R. Coombs2018-06-171-10/+12
| |
| * Extract a function for the 401 responseJason R. Coombs2018-06-171-54/+56
| |
| * Replace assertions with explicit raises, just in case the environment is ↵Jason R. Coombs2018-06-171-5/+10
| | | | | | | | optimized.
| * Flatten digest_auth by using assertions.Jason R. Coombs2018-06-171-33/+41
| |
| * Minor grammatical editsJason R. Coombs2018-06-171-6/+6
| |
| * Merge branch 'master' of https://github.com/cherrypy/cherrypy into ↵Jason R. Coombs2018-06-161-2/+2
| |\ | | | | | | | | | feature/auth-refactor
| | * Enhance comment and use generator expression to traverse IPs.Jason R. Coombs2018-06-161-2/+2
| | |
| * | Replace ntob(tonative(bytes)) with just bytesJason R. Coombs2018-05-291-3/+3
| | |
| * | Rewrite _try_decode to naturally raise an error on the last attempt.Jason R. Coombs2018-05-291-9/+5
| | |
| * | Extract _try_decode functionJason R. Coombs2018-05-291-11/+15
| |/
* | Add extra explanation for _cache.delete()Martin van Es2018-06-061-4/+4
| |
* | Rewrite comments with some punctuation to make it read more clearly. I still ↵Jason R. Coombs2018-06-061-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. Coombs2018-06-061-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 responseMartin van Es2018-06-061-4/+10
|/
* Fail with HTTP 400 for invalid headersSviatoslav Sydorenko2018-05-281-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 settersSviatoslav Sydorenko2018-05-261-1/+1
|
* Upgrade @property decorator syntaxSviatoslav Sydorenko2018-05-261-2/+4
|
* Drop deprecated basic_auth and digest_authSviatoslav Sydorenko2018-05-212-516/+0
| | | | | | Also remove ``httpauth`` module Resolves #1688
* Add tools.auth_digest.accept_charset to examplesSviatoslav Sydorenko2018-04-221-0/+1
|
* Add tools.auth_basic.accept_charset to examplesSviatoslav Sydorenko2018-04-221-0/+1
|
* Add support for UTF-8 in auth_digest toolSviatoslav Sydorenko2018-04-221-12/+73
|
* Use ISO-8859-1 as a fallback charset for credsSviatoslav Sydorenko2018-04-221-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 2Sviatoslav Sydorenko2018-04-221-1/+4
|