aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar Wenbo Zhu <wenboz@google.com>2017-05-18 19:02:42 -0700
committerGravatar GitHub <noreply@github.com>2017-05-18 19:02:42 -0700
commit0408aa85d9ce45485f868ffdc0cfca77d84e4602 (patch)
tree774d021fac2b632a6bdeb284ec279e91812d9990 /doc
parent9ea6d79474a2cc842b9a7a927dfc2b30d8373ae3 (diff)
Update PROTOCOL-WEB.md
Clarify the content type requirement (for message formats).
Diffstat (limited to 'doc')
-rw-r--r--doc/PROTOCOL-WEB.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/PROTOCOL-WEB.md b/doc/PROTOCOL-WEB.md
index 5f37df9b0f..3fe6deb14f 100644
--- a/doc/PROTOCOL-WEB.md
+++ b/doc/PROTOCOL-WEB.md
@@ -37,6 +37,7 @@ 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
2. application/grpc-web-text
* text-encoded streams of “application/grpc-web”
* e.g. application/grpc-web-text+[proto, thrift]