Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_header -> getHeader #210

Merged
merged 1 commit into from
Jun 12, 2019
Merged

_header -> getHeader #210

merged 1 commit into from
Jun 12, 2019

Conversation

Gregoirevda
Copy link

Currently we cannot add the body in the response with responseWhitelist: expressWinston.responseWhitelist.concat('body'), because _header is deprecated and crashed the app. This PR goes from _header property to getHeader function

https://nodejs.org/api/http.html#http_request_getheader_name

@bithavoc
Copy link
Owner

@Gregoirevda Feel free to add yourself to AUTHORS.

@bithavoc bithavoc merged commit df81eb9 into bithavoc:master Jun 12, 2019
@Gregoirevda
Copy link
Author

Thanks @bithavoc. Could you publish on npm please?

@bithavoc
Copy link
Owner

express-winston@3.2.0 🚀

@Gregoirevda
Copy link
Author

Thank you

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.

3 participants