Subject: CVS commit: pkgsrc/www/py-aiohttp
From: Adam Ciarcinski
Date: 2024-04-13 07:13:44
Message id: 20240413051344.E1714FA2C@cvs.NetBSD.org

Log Message:
py-aiohttp: updated to 3.9.4

3.9.4 (2024-04-11)

Bug fixes

- The asynchronous internals now set the underlying causes
  when assigning exceptions to the future objects
- Treated values of ``Accept-Encoding`` header as case-insensitive when checking
  for gzip files
- Improved the DNS resolution performance on cache hit
  This is achieved by avoiding an :mod:`asyncio` task creation in this case.
- Changed the type annotations to allow ``dict`` on \ 
:meth:`aiohttp.MultipartWriter.append`,
  :meth:`aiohttp.MultipartWriter.append_json` and
  :meth:`aiohttp.MultipartWriter.append_form`
- Ensure websocket transport is closed when client does not close it
  The transport could remain open if the client did not close it. This
  change ensures the transport is closed when the client does not close
  it.
- Leave websocket transport open if receive times out or is cancelled
  This restores the behavior prior to the change in 7978.
- Fixed content not being read when an upgrade request was not supported with \ 
the pure Python implementation.
- Fixed a race condition with incoming connections during server shutdown
- Fixed ``multipart/form-data`` compliance with :rfc:`7578`
- Fixed blocking I/O in the event loop while processing files in a POST request
- Escaped filenames in static view
- Fixed the pure python parser to mark a connection as closing when a
  response has no length

Features

- Upgraded *llhttp* to 9.2.1, and started rejecting obsolete line folding
  in Python parser to match

Deprecations (removal in next major release)

- Deprecated ``content_transfer_encoding`` parameter in \ 
:py:meth:`FormData.add_field()
  <aiohttp.FormData.add_field>`

Improved documentation

- Added a note about canceling tasks to avoid delaying server shutdown

Files:
RevisionActionfile
1.65modifypkgsrc/www/py-aiohttp/Makefile
1.60modifypkgsrc/www/py-aiohttp/distinfo