Fix DepreciationWarning error for URIs with query string parameters
This commit is contained in:
@@ -65,7 +65,7 @@ class HTTPHandler(object):
|
|||||||
Output: list
|
Output: list
|
||||||
"""
|
"""
|
||||||
|
|
||||||
self.uri = uri
|
self.uri = uri.encode('utf-8')
|
||||||
self.request_type = request_type.upper()
|
self.request_type = request_type.upper()
|
||||||
self.output_format = output_format.lower()
|
self.output_format = output_format.lower()
|
||||||
self.return_type = return_type
|
self.return_type = return_type
|
||||||
|
Reference in New Issue
Block a user