diff options
author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2018-04-22 12:44:22 +0200 |
---|---|---|
committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2018-04-22 12:45:05 +0200 |
commit | 5f8142874679ccc183a17ba695141a28fad729ac (patch) | |
tree | 29fa180137bbf889eb3774250a4065a7535aba7b | |
parent | 199da0511a813009e055c2b20fe1efe704229a71 (diff) | |
download | cherrypy-git-5f8142874679ccc183a17ba695141a28fad729ac.tar.gz |
Add tools.auth_digest.accept_charset to examples
-rw-r--r-- | cherrypy/lib/auth_digest.py | 1 | ||||
-rw-r--r-- | docs/basics.rst | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/cherrypy/lib/auth_digest.py b/cherrypy/lib/auth_digest.py index e3f1c762..92265c5a 100644 --- a/cherrypy/lib/auth_digest.py +++ b/cherrypy/lib/auth_digest.py @@ -15,6 +15,7 @@ of plaintext passwords as the credentials store:: 'tools.auth_digest.realm': 'wonderland', 'tools.auth_digest.get_ha1': get_ha1, 'tools.auth_digest.key': 'a565c27146791cfb', + 'tools.auth_digest.accept_charset': 'UTF-8', } app_config = { '/' : digest_auth } """ diff --git a/docs/basics.rst b/docs/basics.rst index de392ccd..8603cff3 100644 --- a/docs/basics.rst +++ b/docs/basics.rst @@ -816,7 +816,8 @@ basic one explained above. 'tools.auth_digest.on': True, 'tools.auth_digest.realm': 'localhost', 'tools.auth_digest.get_ha1': auth_digest.get_ha1_dict_plain(USERS), - 'tools.auth_digest.key': 'a565c27146791cfb' + 'tools.auth_digest.key': 'a565c27146791cfb', + 'tools.auth_digest.accept_charset': 'UTF-8', } } |