190
190
remote = os.environ.get('HTTP_FORWARDED_FOR',
191
191
os.environ.get('HTTP_X_FORWARDED_FOR',
192
192
os.environ.get('REMOTE_ADDR',
194
194
# Try to accept a range in case of load balancers, etc. (LP: #1447445)
195
195
if remote.find('.') >= 0: