Browse Source

Add a comment about push requiring a secure connection

Loïc Hoguin 7 years ago
parent
commit
714b11639e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      doc/src/manual/cowboy_req.push.asciidoc

+ 4 - 0
doc/src/manual/cowboy_req.push.asciidoc

@@ -41,6 +41,10 @@ By default, Cowboy will use the GET method, an empty query string,
 and take the scheme, host and port directly from the current
 and take the scheme, host and port directly from the current
 request's URI. You can override them by passing options.
 request's URI. You can override them by passing options.
 
 
+Note that clients may cancel the push or ignore it entirely.
+For example browsers may ignore the resource when the connection
+is not considered secure.
+
 It is not possible to push resources after sending a response.
 It is not possible to push resources after sending a response.
 Any attempt will result in an error.
 Any attempt will result in an error.