Subject: CVS commit: pkgsrc/www/py-aiohttp
From: Adam Ciarcinski
Date: 2018-08-27 13:16:02
Message id: 20180827111602.1A045FBF8@cvs.NetBSD.org

Log Message:
py-aiohttp: updated to 3.4.0

3.4.0:

Features
Add type hints
Add raise_for_status request parameter
Add type hints to HTTP client
Minor server optimizations
Preserve the cause when HTTPException is raised from another exception.
Add close_boundary option in MultipartWriter.write method. Support streaming
Added a remove_slash option to the normalize_path_middleware factory.
The class AbstractRouteDef is importable from aiohttp.web.

Bugfixes
Prevent double closing when client connection is released before the last \ 
data_received() callback.
Make redirect with normalize_path_middleware work when using url encoded paths.
Postpone web task creation to connection establishment.
Fix sock_read timeout.
When using a server-request body as the data= argument of a client request, \ 
iterate over the content with readany instead of readline to avoid Line too long \ 
errors.
fix UrlDispatcher has no attribute add_options, add web.options
correct filename in content-disposition with multipart body
Many HTTP proxies has buggy keepalive support. Let's not reuse connection but \ 
close it after processing every response.
raise 413 "Payload Too Large" rather than raising ValueError in \ 
request.post() Add helpful debug message to 413 responses
Fix StreamResponse equality, now that they are MutableMapping objects.
Fix server request objects comparison
Do not hang on 206 Partial Content response with Content-Encoding: gzip
Fix timeout precondition checkers

Improved Documentation
Add a new FAQ entry that clarifies that you should not reuse response objects in \ 
middleware functions.
Add FAQ section "Why is creating a ClientSession outside of an event loop \ 
dangerous?"
Fix link to Rambler
Fix TCPSite documentation on the Server Reference page.
Fix documentation build configuration file for Windows.
Remove no longer existing lingering_timeout parameter of \ 
Application.make_handler from documentation.
Mention that app.make_handler is deprecated, recommend to use runners API instead.

Deprecations and Removals
Drop loop.current_task() from helpers.current_task()
Drop reader parameter from request.multipart().

Files:
RevisionActionfile
1.28modifypkgsrc/www/py-aiohttp/Makefile
1.7modifypkgsrc/www/py-aiohttp/PLIST
1.28modifypkgsrc/www/py-aiohttp/distinfo