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

Add support for logging response headers #582

Merged
merged 1 commit into from Feb 12, 2018

Conversation

@pthrasher
Copy link
Contributor

pthrasher commented Feb 8, 2018

Currently, there's no way to add response headers to response events (there's currently only request headers available). This PR adds that ability. My use-case is to be able to log content-length.

@arb arb added this to the 8.1.0 milestone Feb 12, 2018
@arb arb merged commit 4037636 into hapijs:master Feb 12, 2018
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.