'How to prevent of converting header name into lower case - Node JS?

I am developing a web application in nodejs where I am sending http-header from server to client end.

My query is, while I am sending any header from server then at client end I always get it into lowercase vs actual. For example, I am setting header something like,

enter image description here

At client end, it gives,

Logintoken = "00574812-0d4b-425f-9748-120d4b725f48"; (Header name converts into lower case only "t" instead "T"!)

Now, the question is, how to prevent it ?

I know Header names should be case insensitive so please don't answer that.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source