Просмотр исходного кода

Add a comment about push requiring a secure connection

Loïc Hoguin 7 лет назад
Родитель
Сommit
714b11639e
1 измененных файлов с 4 добавлено и 0 удалено
  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
 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.