Aiohttp-client-cache

Latest version: v0.11.0

Safety actively analyzes 629564 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.6.0

[See all issues & PRs for v0.6](https://github.com/requests-cache/aiohttp-client-cache/milestone/5?closed=1)
* Add a `bulk_delete()` method for all backends to improve performance of `delete_expired_responses()`
* Update session cookies after fetching cached responses with cookies
* Update session cookies after fetching cached responses with _redirects_ with cookies
* Add support for additional request parameter types that `aiohttp` accepts:
* Strings
* `(key, value)` sequences
* Non-`dict` `Mapping` objects
* Fix URL normalization for `MultiDict` objects with duplicate keys
* E.g., so `http://url.com?foo=bar&foo=baz` is cached separately from `http://url.com?foo=bar`
* Update `ignored_params` to also apply to headers (if `include_headers=True`)

0.5.2

* Fix compatibility with aiohttp 3.8

0.5.1

* Fix issue with request params duplicated from request URL

0.5.0

[See all issues & PRs for v0.5](https://github.com/requests-cache/aiohttp-client-cache/milestone/4?closed=1)

* Add a filesystem backend
* Add support for streaming requests
* Add `RedisBackend.close()` method
* Add `MongoDBPickleCache.values()` method that deserializes items
* Allow `BaseCache.has_url()` and `delete_url()` to take all the same parameters as `create_key()`
* Improve normalization for variations of URLs & request parameters
* Fix handling of request body when it has already been serialized
* Fix bug enabling Cache-Control support by default
* Add some missing no-op methods to `CachedResponse` for compatibility with `ClientResponse`

---

0.4.3

* Fix bug in which reponse header `Expires` was used for cache expiration even with `cache_control=False`
* Fix bug in which HTTP dates parsed from response headers weren't converted to UTC
* Add handling for invalid timestamps in `CachedResponse.is_expired`

0.4.2

* Fix handling of `CachedResponse.encoding` when the response body is `None`

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.