mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-14 17:22:56 -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
|
@ -5,9 +5,7 @@ import os
|
|||
import sys
|
||||
import types
|
||||
import uuid
|
||||
|
||||
import six
|
||||
from six.moves.http_client import IncompleteRead
|
||||
from http.client import IncompleteRead
|
||||
|
||||
import cherrypy
|
||||
from cherrypy._cpcompat import ntou
|
||||
|
@ -243,7 +241,7 @@ class RequestObjectTests(helper.CPWebCase):
|
|||
|
||||
def ifmatch(self):
|
||||
val = cherrypy.request.headers['If-Match']
|
||||
assert isinstance(val, six.text_type)
|
||||
assert isinstance(val, str)
|
||||
cherrypy.response.headers['ETag'] = val
|
||||
return val
|
||||
|
||||
|
@ -251,7 +249,7 @@ class RequestObjectTests(helper.CPWebCase):
|
|||
|
||||
def get_elements(self, headername):
|
||||
e = cherrypy.request.headers.elements(headername)
|
||||
return '\n'.join([six.text_type(x) for x in e])
|
||||
return '\n'.join([str(x) for x in e])
|
||||
|
||||
class Method(Test):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue