Skip to content

Commit 5879eee

Browse files
authored
Update of doctring about origins
1 parent cba2981 commit 5879eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/websockets/asyncio/server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ def handler(websocket):
599599
See :meth:`~asyncio.loop.create_server` for details.
600600
port: TCP port the server listens on.
601601
See :meth:`~asyncio.loop.create_server` for details.
602-
origins: Acceptable values of the ``Origin`` header, for defending
602+
origins: Acceptable values of the ``Origin`` header, including regular expressions, for defending
603603
against Cross-Site WebSocket Hijacking attacks. Include :obj:`None`
604604
in the list if the lack of an origin is acceptable.
605605
extensions: List of supported extensions, in order in which they

0 commit comments

Comments
 (0)