--- - branch: MAIN date: Thu Oct 19 06:54:18 UTC 2017 files: - new: '1.4' old: '1.3' path: pkgsrc/www/py-aiohttp/Makefile pathrev: pkgsrc/www/py-aiohttp/Makefile@1.4 type: modified - new: '1.4' old: '1.3' path: pkgsrc/www/py-aiohttp/distinfo pathrev: pkgsrc/www/py-aiohttp/distinfo@1.4 type: modified - new: '1.2' old: '1.1' path: pkgsrc/www/py-aiohttp/PLIST pathrev: pkgsrc/www/py-aiohttp/PLIST@1.2 type: modified id: 20171019T065418Z.20a2e986889181a4325a5d74b7c1f9688d6fee32 log: "py-aiohttp: update to 2.3.0\n\n2.3.0:\nFeatures\n--------\nAdd SSL related params to ClientSession.request\nMake enable_compression work on HTTP/1.0\nDeprecate registering synchronous web handlers\nSwitch to multidict 3.0. All HTTP headers preserve casing now but compared in case-insensitive way.\nImprovement for normalize_path_middleware. Added possibility to handle URLs with query string.\nUse towncrier for CHANGES.txt build\nImplement trust_env=True param in ClientSession.\nAdded variable to customize proxy headers\nImplement router.add_routes and router decorators.\nDeprecated BaseRequest.has_body in favor of BaseRequest.can_read_body Added BaseRequest.body_exists attribute that stays static for the lifetime of the request\nProvide BaseRequest.loop attribute\nMake _CoroGuard awaitable and fix ClientSession.close warning message\nResponses to redirects without Location header are returned instead of raising a RuntimeError\nAdded get_client, get_server, setUpAsync and tearDownAsync methods to AioHTTPTestCase\nAdd automatically a SafeChildWatcher to the test loop\nadd ability to disable automatic response decompression\nAdd support for throttling DNS request, avoiding the requests saturation when there is a miss in the DNS cache and many requests getting into the connector at the same time.\nUse request for getting access log information instead of message/transport pair. Add RequestBase.remote property for accessing to IP of client initiated HTTP request.\njson() raises a ContentTypeError exception if the content-type does not meet the requirements instead of raising a generic ClientResponseError.\nMake the HTTP client able to return HTTP chunks when chunked transfer encoding is used.\nadd append_version arg into StaticResource.url and StaticResource.url_for methods for getting an url with hash (version) of the file.\nFix parsing the Forwarded header. * commas and semicolons are allowed inside quoted-strings; * empty forwarded-pairs (as in for=_1;;by=_2) are allowed; * non-standard parameters are allowed (although this alone could be easily done in the previous parser).\nDon窶å\x86² require ssl module to run. aiohttp does not require SSL to function. The code paths involved with SSL will only be hit upon SSL usage. Raise RuntimeError if HTTPS protocol is required but ssl module is not present.\nAccept coroutine fixtures in pytest plugin\nCall shutdown_asyncgens before event loop closing on Python 3.6.\nSpeed up Signals when there are no receivers\nRaise InvalidURL instead of ValueError on fetches with invalid URL.\nMove DummyCookieJar into cookiejar.py\nrun_app: Make print=None disable printing\nSupport brotli encoding (generic-purpose lossless compression algorithm)\nAdd server support for WebSockets Per-Message Deflate. Add client option to add deflate compress header in WebSockets request header. If calling ClientSession.ws_connect() with compress=15 the client will support deflate compress negotiation.\nSupport verify_ssl, fingerprint, ssl_context and proxy_headers by client.ws_connect.\nAdded aiohttp.ClientConnectorSSLError when connection fails due ssl.SSLError\naiohttp.web.Application.make_handler support access_log_class\nBuild HTTP parser extension in non-strict mode by default.\n\nBugfixes\n--------\nClear auth information on redirecting to other domain\nFix missing app.loop on startup hooks during tests\nFix issue with synchronous session closing when using ClientSession as an asynchronous context manager.\nFix issue with CookieJar incorrectly expiring cookies in some edge cases.\nForce use of IPv4 during test, this will make tests run in a Docker container\nWarnings about unawaited coroutines now correctly point to the user窶å\x86± code.\nFix issue with IndexError being raised by the StreamReader.iter_chunks() generator.\nSupport HTTP 308 Permanent redirect in client class.\nFix FileResponse sending empty chunked body on 304.\nDo not add Content-Length: 0 to GET/HEAD/TRACE/OPTIONS requests by default.\nFix parsing the Forwarded header according to RFC 7239.\nSecurely determining remote/scheme/host\nFix header name parsing, if name is split into multiple lines\nHandle session close during connection, KeyError: \nFixes uncaught TypeError in helpers.guess_filename if name is not a string\nRaise OSError on async DNS lookup if resolved domain is an alias for another one, which does not have an A or CNAME record.\nFix incorrect warning in StreamReader.\nProperly clone state of web request\nFix C HTTP parser for cases when status line is split into different TCP packets.\nFix web.FileResponse overriding user supplied Content-Type\n" module: pkgsrc subject: 'CVS commit: pkgsrc/www/py-aiohttp' unixtime: '1508396058' user: adam