Fix DepreciationWarning error for URIs with query string parameters

This commit is contained in:
JonnyWong16 2018-02-12 08:15:21 -08:00
parent dab1f8ba20
commit c287b6df77

View file

@ -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