What do commas mean in http requests


So on my personal website (hosted on heroku and uses express.js), I was looking at the logs of all the requests and some of them confused me. This is the format I got: 2022-08-03T00:10:46.101902+00:00 heroku[router]: at=info method=GET path="/" host=www.website.com request_id=f9757d53-7cf8-4c3d-9def-d206b2762b98 fwd="2607:fea8:bb22:4500:7177:5233:f8aa:478a," dyno=web.1 connect=0ms service=2ms status=200 bytes=20999 protocol=http. But the part that confuses me is this fwd="2607:fea8:bb22:4500:7177:5233:f8aa:478a,". Usually its in ipv4 format or ipv6 i have never seen this format before please help. Thank you in advance!



Is a custom HTTP header, and the contents are both an IPv6 and IPv4 address separated by a comma.

IPv6 formats can vary; this is a full length address


And then of course, this is an IPv4 address

Answered By – Bob Smith

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published