Update PROTOCOL-WEB.md

pull/11236/head
Wenbo Zhu 8 years ago committed by GitHub
parent 0408aa85d9
commit f9ca154066
  1. 3
      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]

Loading…
Cancel
Save