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

Added support for adding custom HTTP headers to responses #858

Merged
merged 1 commit into from
Oct 6, 2020
Merged

Added support for adding custom HTTP headers to responses #858

merged 1 commit into from
Oct 6, 2020

Conversation

pnerg
Copy link
Contributor

@pnerg pnerg commented Sep 22, 2020

This PR implements the feature request from issue: #857

In essence following the similar pattern as e.g. custom operator naming allowing the developer to provide a FQCN to a class that generates a Map of headers to add to the response.
Default implementation does nothing, i.e. empty Map

Copy link
Contributor

@SimunKaracic SimunKaracic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I gave this a quick look, looks good to me. I'll push for it to be merged soon 👍

@pnerg
Copy link
Contributor Author

pnerg commented Oct 2, 2020

Seems like there's random test failures.
The DatadogAPIReporterSpecseems to be the one failing most of the times. Works on my laptop and I cannot see how my changes would affect a reporter

@ivantopo ivantopo merged commit 8b25066 into kamon-io:master Oct 6, 2020
SimunKaracic pushed a commit to SimunKaracic/Kamon that referenced this pull request Oct 15, 2020
perenecabuto pushed a commit to globocom/Kamon that referenced this pull request Feb 12, 2021
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