Skip to content

Commit e59c825

Browse files
authored
Update mercure.rst
1 parent 06e978a commit e59c825

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mercure.rst

+1
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ a JWT containing at least one target marking the update to the Hub.
362362

363363
To provide this JWT, the subscriber can use a cookie,
364364
or a ``Authorization`` HTTP header.
365+
365366
Cookies are automatically sent by the browsers when opening an ``EventSource`` connection if the ``withCredentials`` attribute is set to ``true``.
366367
Using cookies is the most secure and preferred way when the client is a web browser.
367368
If the client is not a web browser, then using an authorization header is the way to go.

0 commit comments

Comments
 (0)