-
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
Allow client to disable sending of trailers by omitting "TE" header. #1709
Comments
@johanbrandhorst can I take on this issue? |
Absolutely! Please do. |
@johanbrandhorst Seems someone has begun working on this already with a draft PR, so I'll go ahead and un-assign myself for now. Thanks for the opportunity though! I'll try tackling the next one I feel confident enough to do. 👍 |
Edit (swapped mistake for tip): |
The handling of the "TE" trailer is only present in the error handler, not the normal path (see https://github.com/grpc-ecosystem/grpc-gateway/blob/v2/runtime/handler.go#L166). I'm not sure what you're trying to say but you're not fixing this case in your PR. |
@johanbrandhorst My mistake. |
🐛 Bug Report
We shouldn't send trailers unless the client sends the "TE" trailer.
See #1697 for more context
The text was updated successfully, but these errors were encountered: