Use is_private instead of is_global

pull/38/head
Sheng 2018-10-15 20:34:17 +08:00
parent 77b6fbfd85
commit 021a3a627f
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class MixinHandler(object):
if context._orig_protocol == 'http':
ipaddr = to_ip_address(ip)
if ipaddr.is_global:
if not ipaddr.is_private:
return True
def set_default_headers(self):