#aiohttp
aiohttp.org
#aiohttp
@aiohttp.org
Asynchronous HTTP client/server framework for asyncio and Python by @aio-libs.org.

https://opencollective.com/aiohttp

#aiohttp #aio-libs #asyncio #python

---
This account is under control of @bdraco.org, Sam Bull and @webknjaz.me.
aiohttp 3.12.15 released! 🚀 Fixed DigestAuthMiddleware algorithm case preservation for better server compatibility. Plus improved docs & packaging updates.

github.com/aio-libs/aio...
Release 3.12.15 · aio-libs/aiohttp
Bug fixes Fixed :class:~aiohttp.DigestAuthMiddleware to preserve the algorithm case from the server's challenge in the authorization response. This improves compatibility with servers that perfor...
github.com
July 29, 2025 at 6:00 AM
aiohttp 3.12.13 released! 🚀 Fixed auto-created TCPConnector not using session's event loop when ClientSession created without explicit connector.

github.com/aio-libs/aio...
Release 3.12.13 · aio-libs/aiohttp
Bug fixes Fixed auto-created :py:class:~aiohttp.TCPConnector not using the session's event loop when :py:class:~aiohttp.ClientSession is created without an explicit connector -- by :user:bdraco. ...
github.com
June 14, 2025 at 3:28 PM
aiohttp 3.12.12: Fixed cookie handling bugs - proper octal escape sequences in values & Cookie header parsing now treats attributes as cookies per RFC 6265

github.com/aio-libs/aio...
Release 3.12.12 · aio-libs/aiohttp
Bug fixes Fixed cookie unquoting to properly handle octal escape sequences in cookie values (e.g., \012 for newline) by vendoring the correct _unquote implementation from Python's http.cookies mo...
github.com
June 10, 2025 at 5:18 AM
Reposted by #aiohttp
frozenlist 1.7.0: Added deepcopy support. Fixed debug in wheels for better performance. Line tracing now opt-in. Enforced Cython version pinning.

github.com/aio-libs/fro...
Release 1.7.0 · aio-libs/frozenlist
Features Added deepcopy support to FrozenList -- by :user:bdraco. Related issues and pull requests on GitHub: #659. Packaging updates and notes for downstreams Fixed an issue where frozenlist...
github.com
June 9, 2025 at 11:01 PM
Reposted by #aiohttp
propcache 0.3.2: Fixed docs, upgraded to Cython 3.1, made line tracing opt-in to fix build issues & improve performance.

github.com/aio-libs/pro...
Release 0.3.2 · aio-libs/propcache
Improved documentation Fixed incorrect decorator usage in the :func:~propcache.api.under_cached_property example code -- by :user:meanmail. Related issues and pull requests on GitHub: #109. Pac...
github.com
June 9, 2025 at 10:53 PM
aiohttp 3.12.11: Improved SSL handling with 0s shutdown timeout for instant abort on close. Graceful shutdown during normal ops. ssl_shutdown_timeout deprecated.

github.com/aio-libs/aio...
Release 3.12.11 · aio-libs/aiohttp
Features Improved SSL connection handling by changing the default ssl_shutdown_timeout from 0.1 to 0 seconds. SSL connections now use Python's default graceful shutdown during normal operation bu...
github.com
June 7, 2025 at 4:07 PM
aiohttp 3.12.10 fixes memory leak of aiodns.DNSResolver when TCPConnector closes without custom resolver. Regression from 3.12.0. Thanks Tasssadar

github.com/aio-libs/aio...
Release 3.12.10 · aio-libs/aiohttp
Bug fixes Fixed leak of aiodns.DNSResolver when :py:class:~aiohttp.TCPConnector is closed and no resolver was passed when creating the connector -- by :user:Tasssadar. This was a regression intro...
github.com
June 7, 2025 at 1:39 PM
aiohttp 3.12.9: Fixed memory issue where IOBasePayload/TextIOPayload read entire files into memory when streaming. Now correctly chunks large file uploads (64KB chunks)

github.com/aio-libs/aio...
Release 3.12.9 · aio-libs/aiohttp
Bug fixes Fixed IOBasePayload and TextIOPayload reading entire files into memory when streaming large files -- by :user:bdraco. When using file-like objects with the aiohttp client, the entire fi...
github.com
June 4, 2025 at 4:29 PM
aiohttp 3.12.8: Added preemptive digest auth to DigestAuthMiddleware! Reuses credentials for same protection space, avoiding extra auth trips. Matches browser behavior.

github.com/aio-libs/aio...
Release 3.12.8 · aio-libs/aiohttp
Features Added preemptive digest authentication to :class:~aiohttp.DigestAuthMiddleware -- by :user:bdraco. The middleware now reuses authentication credentials for subsequent requests to the sam...
github.com
June 4, 2025 at 2:41 PM
aiohttp 3.12.7 is out! Major cookie fixes: handles special chars in names, fixes mismatched quotes, and preserves duplicate names with different domains/paths.

github.com/aio-libs/aio...
Release 3.12.7 · aio-libs/aiohttp
Bug fixes Fixed cookie parsing to be more lenient when handling cookies with special characters in names or values. Cookies with characters like {, }, and / in names are now accepted instead of c...
github.com
June 2, 2025 at 4:36 PM
aiohttp 3.12.6 is out! This release fixes spurious "Future exception was never retrieved" warnings for connection lost errors.

github.com/aio-libs/aio...
Release 3.12.6 · aio-libs/aiohttp
Bug fixes Fixed spurious "Future exception was never retrieved" warnings for connection lost errors when the connector is not closed -- by :user:bdraco. When connections are lost, the exception i...
github.com
May 31, 2025 at 6:03 AM
aiohttp 3.12.5 is out! New ssl_shutdown_timeout param to control TLS cleanup timeout (Python 3.11+). Plus perf boost with collections.abc types. Update now!

github.com/aio-libs/aio...
Release 3.12.5 · aio-libs/aiohttp
Features Added ssl_shutdown_timeout parameter to :py:class:~aiohttp.ClientSession and :py:class:~aiohttp.TCPConnector to control the grace period for SSL shutdown handshake on TLS connections. Th...
github.com
May 31, 2025 at 4:12 AM
🚀 aiohttp 3.12.4 is out! 🐛 Bug fix: connector now properly waits for connections to close before returning from close(). Thanks to github.com/atemate! #aiohttp #python

github.com/aio-libs/aio...
Release 3.12.4 · aio-libs/aiohttp
Bug fixes Fixed connector not waiting for connections to close before returning from :meth:~aiohttp.BaseConnector.close (partial backport of :pr:3733) -- by :user:atemate and :user:bdraco. Relate...
github.com
May 29, 2025 at 1:44 AM
aiohttp 3.12.3 now available: Fixed memory leak in CookieJar.filter_cookies causing unbounded memory growth when making requests to different URL paths which was introduced in 3.10.x

github.com/aio-libs/aio...
Release 3.12.3 · aio-libs/aiohttp
Bug fixes Fixed memory leak in :py:meth:~aiohttp.CookieJar.filter_cookies that caused unbounded memory growth when making requests to different URL paths -- by :user:bdraco and :user:Cycloctane. ...
github.com
May 28, 2025 at 11:35 PM
aiohttp 3.12.2 is out! Fixes Content-Length header regression for non-GET requests with None body. Now correctly sets to 0. #python #aiohttp

github.com/aio-libs/aio...
Release 3.12.2 · aio-libs/aiohttp
Bug fixes Fixed Content-Length header not being set to 0 for non-GET requests with None body -- by :user:bdraco. Non-GET requests (POST, PUT, PATCH, DELETE) with None as the body now correctly se...
github.com
May 27, 2025 at 1:50 AM
🚀 aiohttp 3.12.1 is here!

This release solves long-standing issues with POST requests failing on redirects, and more recently, using digest authentication with request bodies.

No more "Form data has been processed already" or "I/O operation on closed file" errors!
May 26, 2025 at 4:29 PM
3.12.0 is out!

New features:
• Client middleware for auth, logging & request modification
• HTTP Digest Auth
• Custom zlib backends
• Better resolver for better performance
• Small requests/responses now coalesce into single packets

Plus bug fixes, armv7l wheels & more!

github.com/aio-libs/aio...
Release 3.12.0 · aio-libs/aiohttp
Bug fixes Fixed :py:attr:~aiohttp.web.WebSocketResponse.prepared property to correctly reflect the prepared state, especially during timeout scenarios -- by :user:bdraco Related issues and pull r...
github.com
May 24, 2025 at 10:58 PM
aiohttp 3.12.0b3 is out now! We're aiming to release 3.12.0 early next week, and your feedback can make all the difference. Please keep testing. It helps us catch issues and ensure backwards compatibility.
github.com/aio-libs/aio...
Release 3.12.0b3 · aio-libs/aiohttp
Bug fixes Response is now always True, instead of using MutableMapping behaviour (False when map is empty) Related issues and pull requests on GitHub: #10119. Fixed connection reuse for file-li...
github.com
May 23, 2025 at 1:59 AM
aiohttp 3.12.0b0 is out! This beta adds client middleware support including DigestAuthMiddleware (RFC 7616), custom zlib backend support, socket_factory in TCPConnector, and shared DNS resolver management. Try it now: github.com/aio-libs/aio...
Release 3.12.0b0 · aio-libs/aiohttp
Bug fixes Response is now always True, instead of using MutableMapping behaviour (False when map is empty) Related issues and pull requests on GitHub: #10119. Fixed pytest plugin to not use dep...
github.com
May 21, 2025 at 4:27 AM
Reposted by #aiohttp
Had a great time hacking on @aiohttp.org (@bdraco.org and @webknjaz.me).

Got a few new contributors and sirosen lurking in, as well as achimnol the aiosignal maintainer.

Looking forward to gathering again tomorrow!

us.pycon.org/2025/events/...

#aio-libs #aiohttp #Python #PyConUS
May 20, 2025 at 3:39 AM
👋 @bdraco.org and @webknjaz.me are going to be running a @pycon.us sprint next week.

Come by and say hi!

The sprint link is us.pycon.org/2025/events/....

We've also started a GH project to organize possible vectors or work. But that's not restrictive.

#PyConUS #PyConUS2025 #Python
Development Sprints
PyCon US 2025
us.pycon.org
May 17, 2025 at 3:43 PM
aiohttp 3.11.18 released

This is a bug fix release that also addresses a regression in 3.11.17

Full changes: github.com/aio-libs/aio...
Release 3.11.18 · aio-libs/aiohttp
Bug fixes Disabled TLS in TLS warning (when using HTTPS proxies) for uvloop and newer Python versions -- by :user:lezgomatt. Related issues and pull requests on GitHub: #7686. Fixed reading fra...
github.com
April 21, 2025 at 9:52 AM
aiohttp 3.11.17 released

This release improves performance of the WebSocket reader and the web server.

github.com/aio-libs/aio...
Release 3.11.17 · aio-libs/aiohttp
Miscellaneous internal changes Optimized web server performance when access logging is disabled by reducing time syscalls -- by :user:bdraco. Related issues and pull requests on GitHub: #10713. ...
github.com
April 19, 2025 at 10:21 PM
Reposted by #aiohttp
frozenlist 1.6.0 released

This release includes free-threading support

github.com/aio-libs/fro...
Release 1.6.0 · aio-libs/frozenlist
Bug fixes Stopped implicitly allowing the use of Cython pre-release versions when building the distribution package -- by :user:ajsanchezsanz and :user:markgreene74. Related commits on GitHub: :c...
github.com
April 17, 2025 at 10:41 PM
Thanks to months of consistent contributions by
lysnikolaou of @quansight.com (Lysandros Nikolaou), all of the mandatory dependencies of #aiohttp now ship free-threaded variants of #wheels!

This unlocks the same in aiohttp!

Find a minute to thank him, will you?

#aio-libs #Python #Packaging
April 17, 2025 at 6:27 AM