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

it should apply header filter for response as well #25

Open
sajjadakhter opened this issue Aug 23, 2020 · 1 comment
Open

it should apply header filter for response as well #25

sajjadakhter opened this issue Aug 23, 2020 · 1 comment

Comments

@sajjadakhter
Copy link

i wanted to exclude headers like set-cookie from logs but looks like it only processes request headers.

@tellnes
Copy link
Owner

tellnes commented Dec 4, 2020

It could probably be done using the additionalRequestFinishData callback and specifying the res property. But that is a hack and this sounds like a reasonable feature to have. So I'm open to pr.

I'm not sure if we should just change the existing feature to include filtering on the response headers or add some new configuration options for it.

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

No branches or pull requests

2 participants