Path to this page:
./
www/py-aiohttp,
Async http client/server framework
Branch: CURRENT,
Version: 3.11.2,
Package name: py312-aiohttp-3.11.2,
Maintainer: pkgsrc-usersHTTP client/server for asyncio (PEP 3156).
Features:
* Supports both Client and HTTP Server.
* Supports both Server WebSockets and Client WebSockets out-of-the-box.
* Web-server has Middlewares, Signals and pluggable routing.
Required to run:[
devel/py-setuptools] [
converters/py-chardet] [
devel/py-cython] [
devel/py-attrs] [
databases/py-multidict] [
www/py-yarl] [
devel/py-async-timeout] [
lang/python37]
Required to build:[
pkgtools/cwrappers]
Master sites:
Filesize: 7478.727 KB
Version history: (Expand)
- (2024-11-16) Updated to version: py312-aiohttp-3.11.2
- (2024-11-14) Updated to version: py312-aiohttp-3.11.0
- (2024-11-13) Updated to version: py312-aiohttp-3.10.11
- (2024-10-14) Updated to version: py312-aiohttp-3.10.10
- (2024-10-09) Updated to version: py312-aiohttp-3.10.9
- (2024-10-01) Updated to version: py312-aiohttp-3.10.8
CVS history: (Expand)
2024-04-17 16:54:22 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-aiohttp: updated to 3.9.5
3.9.5 (2024-04-16)
Bug fixes
- Fixed "Unclosed client session" when initialization of
:py:class:`~aiohttp.ClientSession` fails
- Fixed regression (from :pr:`8280`) with adding ``Content-Disposition`` to the \
``form-data``
part after appending to writer
- Added default ``Content-Disposition`` in ``multipart/form-data`` responses to \
avoid broken
form-data responses
|
2024-04-13 07:13:44 by Adam Ciarcinski | Files touched by this commit (2) | |
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
|
2024-01-30 12:22:07 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-aiohttp: updated to 3.9.3
3.9.3 (2024-01-29)
Bug fixes
- Fixed backwards compatibility breakage (in 3.9.2) of ``ssl`` parameter when \
set outside
of ``ClientSession`` (e.g. directly in ``TCPConnector``)
|
2024-01-29 07:53:52 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-aiohttp: updated to 3.9.2
3.9.2 (2024-01-28)
Bug fixes
- Fixed server-side websocket connection leak.
- Fixed ``web.FileResponse`` doing blocking I/O in the event loop.
- Fixed double compress when compression enabled and compressed file exists in \
server file responses.
- Added runtime type check for ``ClientSession`` ``timeout`` parameter.
- Fixed an unhandled exception in the Python HTTP parser on header lines \
starting with a colon
Invalid request lines with anything but a dot between the HTTP major and minor \
version are now rejected.
Invalid header field names containing question mark or slash are now rejected.
Such requests are incompatible with :rfc:`9110#section-5.6.2` and are not \
known to be of any legitimate use.
- Improved validation of paths for static resources requests to the server
Features
- Added support for passing :py:data:`True` to ``ssl`` parameter in \
``ClientSession`` while
deprecating :py:data:`None`
Breaking changes
- Fixed an unhandled exception in the Python HTTP parser on header lines \
starting with a colon
Invalid request lines with anything but a dot between the HTTP major and minor \
version are now rejected.
Invalid header field names containing question mark or slash are now rejected.
Such requests are incompatible with :rfc:`9110#section-5.6.2` and are not \
known to be of any legitimate use.
Improved documentation
- Fixed examples of ``fallback_charset_resolver`` function in the \
:doc:`client_advanced` document.
- The Sphinx setup was updated to avoid showing the empty
changelog draft section in the tagged release documentation
builds on Read The Docs
|
2023-11-27 07:59:02 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-aiohttp: updated to 3.9.1
3.9.1 (2023-11-26)
Bugfixes
- Fixed importing aiohttp under PyPy on Windows.
- Fixed async concurrency safety in websocket compressor.
- Fixed ``ClientResponse.close()`` releasing the connection instead of closing.
- Fixed a regression where connection may get closed during upgrade.
- Fixed messages being reported as upgraded without an Upgrade header in Python \
parser.
|
2023-11-19 14:52:13 by Thomas Klausner | Files touched by this commit (3) | |
Log message:
py-aiohttp: update to 3.9.0.
Bugfixes.
|
2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | |
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation
This follows the recommended bootstrap method (flit_core, build, installer).
However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
|
2023-10-09 14:45:23 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-aiohttp: updated to 3.8.6
3.8.6 (2023-10-07)
Security bugfixes
- Upgraded the vendored copy of llhttp_ to v9.1.3
- Updated Python parser to comply with RFCs 9110/9112
Deprecation
- Added ``fallback_charset_resolver`` parameter in ``ClientSession`` to allow a \
user-supplied
character set detection function.
Character set detection will no longer be included in 3.9 as a default. If \
this feature is needed,
please use `fallback_charset_resolver \
<https://docs.aiohttp.org/en/stable/client_advanced.html#character-set-detection>`_.
Features
- Enabled lenient response parsing for more flexible parsing in the client
(this should resolve some regressions when dealing with badly formatted HTTP \
responses).
Bugfixes
- Fixed ``PermissionError`` when ``.netrc`` is unreadable due to permissions.
- Fixed output of parsing errors pointing to a ``\n``.
- Fixed ``GunicornWebWorker`` max_requests_jitter not working.
- Fixed sorting in ``filter_cookies`` to use cookie with longest path.
- Fixed display of ``BadStatusLine`` messages from llhttp_.
|