From bbd9f54fd4a39af9f248ea8efcd8020eecffabeb Mon Sep 17 00:00:00 2001 From: Marcello Dalponte Date: Mon, 15 Sep 2025 16:00:51 +0200 Subject: [PATCH] Add Fly.io header to precedence list Docs: https://fly.io/docs/networking/request-headers/#fly-client-ip --- python_ipware/python_ipware.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python_ipware/python_ipware.py b/python_ipware/python_ipware.py index 0dc5dc7..7156c3e 100644 --- a/python_ipware/python_ipware.py +++ b/python_ipware/python_ipware.py @@ -46,6 +46,7 @@ def __init__( "CF-CONNECTING-IP", # Used by CloudFlare. "TRUE-CLIENT-IP", # Header for CloudFlare Enterprise. "FASTLY-CLIENT-IP", # Used by Fastly, Firebase. + "FLY-CLIENT-IP", # Used by Fly.io "FORWARDED", # Standard header defined by RFC 7239. "CLIENT-IP", # Used by Akamai, Cloudflare's True-Client-IP, and Fastly's Fastly-Client-IP. "REMOTE_ADDR", # The default IP address header (direct connection).