You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your opinion. This code has been there for a while and I don't know if folks shared style opinions back when it was written. But we do not accept style only PRs, so likely there is not much we are going to change for this.
Just giving some more context here: the proposed change would no longer do the same thing. The point of the code is to treat both the referrer and referer header as the same. In your updated version only the one asked for would be given, making the entire switch case functionally equivalent to just return this.headers[lc].
i want to ask about this code
that write with logic
is that more readable and cleaner when we write that with
i just giving my opinion as express js users
The text was updated successfully, but these errors were encountered: