Update PROTOCOL-WEB.md

Clarify the content type requirement (for message formats).
pull/11236/head
Wenbo Zhu 8 years ago committed by GitHub
parent 9ea6d79474
commit 0408aa85d9
  1. 1
      doc/PROTOCOL-WEB.md

@ -37,6 +37,7 @@ Content-Type
1. application/grpc-web 1. application/grpc-web
* e.g. application/grpc-web+[proto, json, thrift] * 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 2. application/grpc-web-text
* text-encoded streams of “application/grpc-web” * text-encoded streams of “application/grpc-web”
* e.g. application/grpc-web-text+[proto, thrift] * e.g. application/grpc-web-text+[proto, thrift]

Loading…
Cancel
Save