Skip to content

Conversation

@gnurag
Copy link

@gnurag gnurag commented May 12, 2021

expressjs apps using express-redis-cache log this error on the console:

(node:57103) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use `node --trace-deprecation ...` to show where the warning was created)

Replacing the deprecated _headers property with getHeaders() fixes this.

ref: DEP0066 - https://nodejs.org/api/deprecations.html#DEP0066

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant