aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar Wenbo Zhu <wenboz@google.com>2017-05-19 10:33:06 -0700
committerGravatar GitHub <noreply@github.com>2017-05-19 10:33:06 -0700
commitf9ca15406613ec9b516acf30a814f2bba260ae11 (patch)
tree34781c682f834352fb292f02acf469a4219301ca /doc
parent0408aa85d9ce45485f868ffdc0cfca77d84e4602 (diff)
Update PROTOCOL-WEB.md
Diffstat (limited to 'doc')
-rw-r--r--doc/PROTOCOL-WEB.md3
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]