|
|
@ -37,7 +37,8 @@ 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 |
|
|
|
* 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 |
|
|
|
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] |
|
|
|