From f9ca15406613ec9b516acf30a814f2bba260ae11 Mon Sep 17 00:00:00 2001 From: Wenbo Zhu Date: Fri, 19 May 2017 10:33:06 -0700 Subject: [PATCH] Update PROTOCOL-WEB.md --- doc/PROTOCOL-WEB.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/PROTOCOL-WEB.md b/doc/PROTOCOL-WEB.md index 3fe6deb14f3..b6ea3ecabe7 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]