diff options
author | Feng Li <fengli@google.com> | 2017-05-19 13:45:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-19 13:45:26 -0700 |
commit | 04ac52bc3f30061a0609769cdcc82da143d6a292 (patch) | |
tree | 96ab7fba6df2a06f35bf7dba544b97cb9d4260b4 | |
parent | 6d22f4a451b28415e73c62b9d498a75504ba1143 (diff) | |
parent | 69ac56f7c0332a5c0c17deae54cbc11045c83890 (diff) |
Merge pull request #11236 from grpc/wenbozhu-patch-2
Update PROTOCOL-WEB.md
-rw-r--r-- | doc/PROTOCOL-WEB.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/PROTOCOL-WEB.md b/doc/PROTOCOL-WEB.md index 5f37df9b0f..10998899c4 100644 --- a/doc/PROTOCOL-WEB.md +++ b/doc/PROTOCOL-WEB.md @@ -37,6 +37,8 @@ Content-Type 1. application/grpc-web * e.g. application/grpc-web+[proto, json, thrift] + * the sender should always specify the message format, e.g. +proto, +json + * the receiver should assume the default is "+proto" when the message format is missing in Content-Type (as "application/grpc-web") 2. application/grpc-web-text * text-encoded streams of “application/grpc-web” * e.g. application/grpc-web-text+[proto, thrift] |