python-ipware 2.0.2__tar.gz → 2.0.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-ipware
3
- Version: 2.0.2
3
+ Version: 2.0.3
4
4
  Summary: A Python package to retrieve user's IP address
5
5
  Author-email: Val Neekman <info@neekware.com>
6
6
  License: MIT
@@ -134,6 +134,7 @@ request_headers_precedence_order = (
134
134
  "HTTP_X_CLUSTER_CLIENT_IP", # Rackspace LB and Riverbed Stingray
135
135
  "HTTP_FORWARDED_FOR", # RFC 7239
136
136
  "HTTP_FORWARDED", # RFC 7239
137
+ "HTTP_CF_CONNECTING_IP", # CloudFlare
137
138
  "X-CLIENT-IP", # Microsoft Azure
138
139
  "X-REAL-IP", # NGINX
139
140
  "X-CLUSTER-CLIENT-IP", # Rackspace Cloud Load Balancers
@@ -103,6 +103,7 @@ request_headers_precedence_order = (
103
103
  "HTTP_X_CLUSTER_CLIENT_IP", # Rackspace LB and Riverbed Stingray
104
104
  "HTTP_FORWARDED_FOR", # RFC 7239
105
105
  "HTTP_FORWARDED", # RFC 7239
106
+ "HTTP_CF_CONNECTING_IP", # CloudFlare
106
107
  "X-CLIENT-IP", # Microsoft Azure
107
108
  "X-REAL-IP", # NGINX
108
109
  "X-CLUSTER-CLIENT-IP", # Rackspace Cloud Load Balancers
@@ -0,0 +1 @@
1
+ __version__ = "2.0.3"
@@ -28,6 +28,7 @@ class IpWareMeta:
28
28
  "HTTP_X_CLUSTER_CLIENT_IP", # Rackspace LB and Riverbed Stingray
29
29
  "HTTP_FORWARDED_FOR", # RFC 7239
30
30
  "HTTP_FORWARDED", # RFC 7239
31
+ "HTTP_CF_CONNECTING_IP", # CloudFlare
31
32
  "X-CLIENT-IP", # Microsoft Azure
32
33
  "X-REAL-IP", # NGINX
33
34
  "X-CLUSTER-CLIENT-IP", # Rackspace Cloud Load Balancers
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-ipware
3
- Version: 2.0.2
3
+ Version: 2.0.3
4
4
  Summary: A Python package to retrieve user's IP address
5
5
  Author-email: Val Neekman <info@neekware.com>
6
6
  License: MIT
@@ -134,6 +134,7 @@ request_headers_precedence_order = (
134
134
  "HTTP_X_CLUSTER_CLIENT_IP", # Rackspace LB and Riverbed Stingray
135
135
  "HTTP_FORWARDED_FOR", # RFC 7239
136
136
  "HTTP_FORWARDED", # RFC 7239
137
+ "HTTP_CF_CONNECTING_IP", # CloudFlare
137
138
  "X-CLIENT-IP", # Microsoft Azure
138
139
  "X-REAL-IP", # NGINX
139
140
  "X-CLUSTER-CLIENT-IP", # Rackspace Cloud Load Balancers
@@ -1 +0,0 @@
1
- __version__ = "2.0.2"
File without changes
File without changes