Hello, guys
Browsing the internet, I’ve found few ways to get header value:
- txn.f:hdr(“x-forwarded-for”)
- txn.f:req_fhdr(“x-forwarded-for”)
- txn.http:req_get_headers()[“x-forwarded-for”][0]
Do you maybe know why there are so many ways and what the difference is? Which one is preferrable?
1 post - 1 participant