mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Update cherrypy-18.6.1
This commit is contained in:
parent
b3ae6bd695
commit
ebffd124f6
57 changed files with 1269 additions and 1509 deletions
|
@ -2,8 +2,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# vim:ts=4:sw=4:expandtab:fileencoding=utf-8
|
||||
|
||||
import six
|
||||
|
||||
|
||||
import cherrypy
|
||||
from cherrypy.lib import auth_digest
|
||||
|
@ -92,8 +90,7 @@ class DigestAuthTest(helper.CPWebCase):
|
|||
'cnonce="1522e61005789929"')
|
||||
|
||||
encoded_user = username
|
||||
if six.PY3:
|
||||
encoded_user = encoded_user.encode('utf-8')
|
||||
encoded_user = encoded_user.encode('utf-8')
|
||||
encoded_user = encoded_user.decode('latin1')
|
||||
auth_header = base_auth % (
|
||||
encoded_user, realm, nonce, test_uri,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue