-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Send trailers only when TE: trailers
is set
#2124
Send trailers only when TE: trailers
is set
#2124
Conversation
Using the code from the errors.go
TE: trailers
is set
Codecov Report
@@ Coverage Diff @@
## master #2124 +/- ##
==========================================
- Coverage 58.19% 58.09% -0.10%
==========================================
Files 35 35
Lines 3846 3852 +6
==========================================
Hits 2238 2238
- Misses 1338 1342 +4
- Partials 270 272 +2
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! LGTM
Also changed in the `testABELookupNotFound`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments and suggestions addressed. PTAL.
Apologies for bothering. Are there any plans for this PR to be merged? Is there anything I should improve in order to enable the merge? |
Sorry this was delayed, thanks for your contribution! |
References to other Issues or PRs
Fixes #1709
Have you read the Contributing Guidelines?
Yes.
Brief description of what is fixed or changed
Sends trailers back only when client specifies
TE: trailers
.Other comments
I borrowed the code from
errors.go
from #1499 as well as the approach to the tests.I was thinking about increasing the reuse but did not figure out anything elegant. Will gladly adjust.