Open kasir-barati opened 4 months ago
Hi dear reader,
I think it is best to use req.header('header-case-insensitive-name') here. TBH IDK much about how express, or fastify works -- I mean normalizing headers. But what I am sure about it that it makes this lib a bit more resilient.
req.header('header-case-insensitive-name')
READ more.
I was writing some unit test and I found out how passport-jwt is working.
Hi dear reader,
I think it is best to use
req.header('header-case-insensitive-name')
here. TBH IDK much about how express, or fastify works -- I mean normalizing headers. But what I am sure about it that it makes this lib a bit more resilient.READ more.
I was writing some unit test and I found out how passport-jwt is working.