Sha256: 1a270f46b938947d1d281fd751d363733056f92d4714d7f90d26806208393cd4

Contents?: true

Size: 1000 Bytes

Versions: 43

Compression:

Stored size: 1000 Bytes

Contents

# 0.20.4

## Improvements

The `:response_cache` plugin is now more compliant with how the RFC 2616 defines which behaviour caches shall have:

* it caches only responses with one of the following status codes: 200, 203, 300, 301, 410.
* it discards cached responses which become stale.
* it supports "cache-control" header directives to decided when to cache, to store, what the response "age" is.
* it can cache more than one response for the same request, provided that the request presents different header values for the headers declared in the "vary" response header (previously, it was only caching the first response, and discarding the remainder).



## Bugfixes

* fixed DNS resolution bug which caused a loop when a failed connection attempt would cause a new DNS request to be triggered for the same domain, filling up and giving preference to the very IP which failed the attempt.
* response_cache: request verb is now taken into account, not causing HEAD/GET confusion for the same URL.

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
httpx-0.21.0 doc/release_notes/0_20_4.md
httpx-0.20.5 doc/release_notes/0_20_4.md
httpx-0.20.4 doc/release_notes/0_24_4.md