diff options
author | Wenbo Zhu <wenboz@google.com> | 2018-03-27 14:20:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-27 14:20:08 -0700 |
commit | ab8580d94078b9bc52c931545a2d6b227ae61499 (patch) | |
tree | cfcedc9c37aaff4154b24910f6c77c03ee73b926 /doc/PROTOCOL-WEB.md | |
parent | b984a27d90ab1d3ed206a5f7a32200f01e1f3a11 (diff) |
Remove browser-specific features.
Diffstat (limited to 'doc/PROTOCOL-WEB.md')
-rw-r--r-- | doc/PROTOCOL-WEB.md | 36 |
1 files changed, 5 insertions, 31 deletions
diff --git a/doc/PROTOCOL-WEB.md b/doc/PROTOCOL-WEB.md index c31a048a7c..6f2c3031a6 100644 --- a/doc/PROTOCOL-WEB.md +++ b/doc/PROTOCOL-WEB.md @@ -106,19 +106,6 @@ to security policies with XHR # Other features -Compression - -* Full-body compression is supported and expected for all unary -requests/responses. The compression/decompression will be done -by browsers, using standard Content-Encoding headers - * “grpc-encoding” header is not used - * SDCH, Brotli will be supported -* Message-level compression for streamed requests/responses is not supported -because manual compression/decompression is prohibitively expensive using JS - * Per-message compression may be feasible in future with wasm - ---- - Retries, caching * Will spec out the support after their respective gRPC spec extensions @@ -128,24 +115,6 @@ are finalized --- -Security - -* XSRF, XSS etc to be specified - ---- - -CORS preflight - -* Should follow the [CORS spec](https://developer.mozilla.org/en-US/docs/Web/HTTP/Server-Side_Access_Control) - * Access-Control-Allow-Credentials to allow Authorization headers - * Access-Control-Allow-Methods to allow POST and (preflight) OPTIONS only - * Access-Control-Allow-Headers to whatever the preflight request carries -* The client library may support header overwrites to avoid preflight - * https://github.com/whatwg/fetch/issues/210 -* CSP support to be specified - ---- - Keep-alive * HTTP/2 PING is not supported or used @@ -165,3 +134,8 @@ Versioning * Special headers may be introduced to support features that may break compatiblity. +--- + +Browser-specific features + +* Certain features are unique to browser or HTML clients, and for those features please check the [spec doc](https://github.com/grpc/grpc-web/blob/master/PROTOCOL-WEB.md) published in the grpc/grpc-web repo. |