aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual/cowboy_req.push.asciidoc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-06-04 14:32:50 +0200
committerLoïc Hoguin <[email protected]>2018-06-04 14:32:50 +0200
commit714b11639e9719e42ba0beafb6e6185b0d02e68a (patch)
tree3c983e050253b2eeae36cf75093b522db4f35e27 /doc/src/manual/cowboy_req.push.asciidoc
parentdb8e713a86a3d26fb182c2ea81e53f14fcfb7b73 (diff)
downloadcowboy-714b11639e9719e42ba0beafb6e6185b0d02e68a.tar.gz
cowboy-714b11639e9719e42ba0beafb6e6185b0d02e68a.tar.bz2
cowboy-714b11639e9719e42ba0beafb6e6185b0d02e68a.zip
Add a comment about push requiring a secure connection
Diffstat (limited to 'doc/src/manual/cowboy_req.push.asciidoc')
-rw-r--r--doc/src/manual/cowboy_req.push.asciidoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/manual/cowboy_req.push.asciidoc b/doc/src/manual/cowboy_req.push.asciidoc
index 5a3509f..ab6da8b 100644
--- a/doc/src/manual/cowboy_req.push.asciidoc
+++ b/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
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.
Any attempt will result in an error.