-
Committer:
Tarmac
-
Author(s):
Vishvananda Ishaya
-
Date:
2010-12-22 23:59:14 UTC
-
mfrom:
(469.4.2 lp692317)
-
Revision ID:
tarmac-20101222235914-ye06h0njxkj2caxm
Adds a flag to use the X-Forwarded-For header to find the ip of the remote server. This is needed when you have multiple api servers with a load balancing proxy in front. It is a flag that defaults to False because if you don't have a sanitizing proxy in front, users could masquerade as other ips by passing in the header manually.