aiohttp 0.16.0 release
Major release, new features added.
Client API refactored a bit, ClientSession is first-class citizen now and highly recommended to use instead of aiohttp.request.
Full list of changes:
- Unset waiter future after cancellation #363
- Update request url with query parameters #372
- Support new
fingerprintparam of TCPConnector to enable verifying
ssl certificates via md5, sha1, or sha256 digest #366 - Setup uploaded filename if field value is binary and transfer
encoding is not specified #349 - Implement
ClientSession.close()method - Implement
connector.closedreadonly property - Implement
ClientSession.closedreadonly property - Implement
ClientSession.connectorreadonly property - Implement
ClientSession.detachmethod - Add
__del__to client-side objects: sessions, connectors,
connections, requests, responses. - Refactor connections cleanup by connector #357
- Add
limitparameter to connector constructor #358 - Add
request.has_bodyproperty #364 - Add
response_classparameter tows_connect()#367 ProxyConnectordoesn't support keep-alive requests by default
starting from now #368- Add
connector.force_closeproperty - Add ws_connect to ClientSession #374
- Support optional
chunk_sizeparameter inrouter.add_static()