0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 04:30:25 +00:00

Add a comment about push requiring a secure connection

This commit is contained in:
Loïc Hoguin 2018-06-04 14:32:50 +02:00
parent db8e713a86
commit 714b11639e
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764

View file

@ -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.