79365810

Date: 2025-01-17 18:46:05
Score: 0.5
Natty:
Report link

For those reading this in 2025, using Azure Function model v4 and NodeJS 18: request.headers currently returns an object with a javascript Map, the latter containing the headers list. To get the header value, use the Map.get() method: request.headers.get('x-forwarded-for')

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: ofri cofri