Subject: CVS commit: pkgsrc/www/py-websockets
From: Adam Ciarcinski
Date: 2018-09-07 13:26:42
Message id: 20180907112642.5589FFBF8@cvs.NetBSD.org

Log Message:
py-websockets: updated to 6.0

6.0:

Warning

Version 6.0 introduces the :class:~http.Headers class for managing HTTP headers \ 
and changes several public APIs:

:meth:~server.WebSocketServerProtocol.process_request now receives a \ 
:class:~http.Headers instead of a :class:~http.client.HTTPMessage in the \ 
request_headers argument.
The :attr:~protocol.WebSocketCommonProtocol.request_headers and \ 
:attr:~protocol.WebSocketCommonProtocol.response_headers attributes of \ 
:class:~protocol.WebSocketCommonProtocol are :class:~http.Headers instead of \ 
:class:~http.client.HTTPMessage.
The :attr:~protocol.WebSocketCommonProtocol.raw_request_headers and \ 
:attr:~protocol.WebSocketCommonProtocol.raw_response_headers attributes of \ 
:class:~protocol.WebSocketCommonProtocol are removed. Use \ 
:meth:~http.Headers.raw_items instead.
Functions defined in the :mod:~handshake module now receive :class:~http.Headers \ 
in argument instead of get_header or set_header functions. This affects \ 
libraries that rely on low-level APIs.
Functions defined in the :mod:~http module now return HTTP headers as \ 
:class:~http.Headers instead of lists of (name, value) pairs.
Note that :class:~http.Headers and :class:~http.client.HTTPMessage provide \ 
similar APIs.

Also:
Added compatibility with Python 3.7.

Files:
RevisionActionfile
1.5modifypkgsrc/www/py-websockets/distinfo
1.6modifypkgsrc/www/py-websockets/PLIST
1.7modifypkgsrc/www/py-websockets/Makefile