Skip to content

Respond with correct content-type header#13

Open
Bathtor wants to merge 4 commits into
Bluehouse-Technology:masterfrom
Bathtor:master
Open

Respond with correct content-type header#13
Bathtor wants to merge 4 commits into
Bluehouse-Technology:masterfrom
Bathtor:master

Conversation

@Bathtor

@Bathtor Bathtor commented Aug 18, 2019

Copy link
Copy Markdown

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
Copy Markdown

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