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

增加支持grpc-web-text, 关闭http_compression #4805

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

netyum
Copy link

@netyum netyum commented Jun 3, 2022

  1. 如果请求头 Context-Type 是 grpc-web-text 请求数据base64_decode, 响应数据 base64_encode
    2.如果是通过envoy 转发, 判断请求头 accept 是application/grpc-web-text 和 x-grpc-web是 1,和上面的情况,检测server的settings. 如果http_compression(默认)开启,抛出异常,提示必须关闭 http_compression,(即不要开启gzip)http_compression = false

…ons with RuntimeException

2.If request is grpc-web-text with Content-Type, request stream and response stream with base64 decode/encode
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.

None yet

1 participant