python-websockets

Edit Package python-websockets
No description set
Refresh
Refresh
Source Files
Filename Size Changed
10.1.tar.gz 0000299315 292 KB
python-websockets.changes 0000008696 8.49 KB
python-websockets.spec 0000002556 2.5 KB
Revision 17 (latest revision is 27)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 951678 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 17)
- 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.
Comments 0
openSUSE Build Service is sponsored by