forked from pool/python-websockets
34b5c70db7dfd039490d02bbbf262f236a16fdbb0a8b182d882f2b3d9b4e2f63
- update to 10.1:
* Made the second parameter of connection handlers optional. It will be
deprecated in the next major release. The request path is available in
the :attr:`~legacy.protocol.WebSocketCommonProtocol.path` attribute of
the first argument.
If you implemented the connection handler of a server as::
async def handler(request, path):
...
You should replace it by::
async def handler(request):
path = request.path # if handler() uses the path argument
...
* Added ``python -m websockets --version``.
* Reverted optimization of default compression settings for clients, mainly to
avoid triggering bugs in poorly implemented servers like `AWS API Gateway`_.
* Mirrored the entire :class:`~asyncio.Server` API
in :class:`~server.WebSocketServer`.
* Improved performance for large messages on ARM processors.
* Documented how to auto-reload on code changes in development.
* Avoided half-closing TCP connections that are already closed.
OBS-URL: https://build.opensuse.org/request/show/951678
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-websockets?expand=0&rev=17
Description
No description provided
Languages
RPM Spec
100%