diff options
author | Wenbo Zhu <wenboz@google.com> | 2017-05-19 10:33:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-19 10:33:06 -0700 |
commit | f9ca15406613ec9b516acf30a814f2bba260ae11 (patch) | |
tree | 34781c682f834352fb292f02acf469a4219301ca | |
parent | 0408aa85d9ce45485f868ffdc0cfca77d84e4602 (diff) |
Update PROTOCOL-WEB.md
-rw-r--r-- | doc/PROTOCOL-WEB.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/PROTOCOL-WEB.md b/doc/PROTOCOL-WEB.md index 3fe6deb14f..b6ea3ecabe 100644 --- a/doc/PROTOCOL-WEB.md +++ b/doc/PROTOCOL-WEB.md @@ -37,7 +37,8 @@ Content-Type 1. application/grpc-web * e.g. application/grpc-web+[proto, json, thrift] - * the message format, e.g. +proto, +json, should always be specified by the sender + * the sender should always specifiy the message format, e.g. +proto, +json + * the receiver should assume the default is "+proto" when the message format is mssing in the C-T, i.e. "application/grpc-web" 2. application/grpc-web-text * text-encoded streams of “application/grpc-web” * e.g. application/grpc-web-text+[proto, thrift] |