Skip to content

Commit

Permalink
打印cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
testerSunshine committed Dec 27, 2018
1 parent 9a96476 commit 46b6a72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions myUrllib/httpUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def send(self, urls, data=None, **kwargs):
url_host = self._cdn
elif is_cdn:
if self._cdn:
print(u"当前请求cdn为{}".format(self._cdn))
url_host = self._cdn
else:
url_host = urls["Host"]
Expand Down

0 comments on commit 46b6a72

Please sign in to comment.