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

Respond with correct content-type header #13

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Bathtor
Copy link

@Bathtor Bathtor commented Aug 18, 2019

I updated grpc_server to always insert the content-type used by the request (or application/grpc by default) into the response's HTTP headers.

Without this, I couldn't get it to communicate with https://github.com/grpc/grpc-java, since the latter just rejected every message with undefined content-type headers and setting them manually for every single response seemed very inefficient.

@WangScaler
Copy link

It's right !

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.

2 participants