What is the difference between `CF-Connecting-IP` ...
# workers-help
m
Using it for a simple rate-limiting purpose and was wondering :)
m
Is there a preference on which to use? It seems like
CF-Connecting-IP
is more standard
k
Functionally they're the same -
CF-Connecting-IP
is the usual go-to but there's no difference
m
Okay thanks :) And can they ever be empty, or is that just not how it works?
p
If the request came from a browser/client, it should never be empty as far as I'm aware
there are some type of requests coming from Cloudflare that don't have that header, such as health checks, early hints and some more I can't immediately remember
m
Gotcha