打印cdn

pull/66/head
wenxianping 2018-12-27 14:38:19 +08:00
parent 9a9647665f
commit 46b6a72577
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ class HTTPClient(object):
url_host = self._cdn url_host = self._cdn
elif is_cdn: elif is_cdn:
if self._cdn: if self._cdn:
print(u"当前请求cdn为{}".format(self._cdn))
url_host = self._cdn url_host = self._cdn
else: else:
url_host = urls["Host"] url_host = urls["Host"]