<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/requests-cache.git/requests_cache/response.py, branch dev</title>
<subtitle>github.com: reclosedev/requests-cache
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/requests-cache.git/'/>
<entry>
<title>Read manually instead of using _body, move decode tests to integration tests</title>
<updated>2021-04-18T19:13:10+00:00</updated>
<author>
<name>shiftinv</name>
<email>me@shiftinv.cc</email>
</author>
<published>2021-04-18T19:13:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/requests-cache.git/commit/?id=df8d1d1ec87d1a02d1733b065d048050b0700f5d'/>
<id>df8d1d1ec87d1a02d1733b065d048050b0700f5d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve raw response reset, update tests</title>
<updated>2021-04-18T16:59:05+00:00</updated>
<author>
<name>shiftinv</name>
<email>me@shiftinv.cc</email>
</author>
<published>2021-04-18T16:35:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/requests-cache.git/commit/?id=e3deb4b2d7a388550d004d0109fac805dd91db41'/>
<id>e3deb4b2d7a388550d004d0109fac805dd91db41</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix handling of decode_content parameter for raw.read(...)</title>
<updated>2021-04-18T13:41:03+00:00</updated>
<author>
<name>shiftinv</name>
<email>me@shiftinv.cc</email>
</author>
<published>2021-04-18T11:13:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/requests-cache.git/commit/?id=2a4681d6342f1635da6c3ea96838956c228ba006'/>
<id>2a4681d6342f1635da6c3ea96838956c228ba006</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Demote most logging.info statements to debug</title>
<updated>2021-04-11T00:44:31+00:00</updated>
<author>
<name>Jordan Cook</name>
<email>jordan.cook@pioneer.com</email>
</author>
<published>2021-04-11T00:44:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/requests-cache.git/commit/?id=7dfb7c0e3c0584c570eb192ffc14361ac36de8fa'/>
<id>7dfb7c0e3c0584c570eb192ffc14361ac36de8fa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improvements to Sphinx documentation:</title>
<updated>2021-04-03T20:30:00+00:00</updated>
<author>
<name>Jordan Cook</name>
<email>jordan.cook@pioneer.com</email>
</author>
<published>2021-04-02T19:03:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/requests-cache.git/commit/?id=8854ae6982aeca12349536bcecf16eb0a8973c45'/>
<id>8854ae6982aeca12349536bcecf16eb0a8973c45</id>
<content type='text'>
* Use sphinx-apidoc to auto-generate sources for backend modules
    * Still manually adding other modules for more control over formatting
* Add a couple more contributors I missed
* Include contributors on readthedocs
* Add 'all' Makefile target and clean auto-generated docs
* Remove unused build targets in Makefile
* Update interpshinx links that have moved
* Fix some interpshinx links
* Fix some `:ref:` links using auto-generated labels (and some manually added labels where convenient)
* Fix some docstring formatting
* Fix remaining build warnings
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Use sphinx-apidoc to auto-generate sources for backend modules
    * Still manually adding other modules for more control over formatting
* Add a couple more contributors I missed
* Include contributors on readthedocs
* Add 'all' Makefile target and clean auto-generated docs
* Remove unused build targets in Makefile
* Update interpshinx links that have moved
* Fix some interpshinx links
* Fix some `:ref:` links using auto-generated labels (and some manually added labels where convenient)
* Fix some docstring formatting
* Fix remaining build warnings
</pre>
</div>
</content>
</entry>
<entry>
<title>Add example script to convert an existing cache from previous serialization format to new one</title>
<updated>2021-04-03T19:22:49+00:00</updated>
<author>
<name>Jordan Cook</name>
<email>jordan.cook@pioneer.com</email>
</author>
<published>2021-04-03T19:13:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/requests-cache.git/commit/?id=494daa1cb0a276c148b9baf05599f9d1baa01c4b'/>
<id>494daa1cb0a276c148b9baf05599f9d1baa01c4b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid recursion when caching redirects</title>
<updated>2021-04-01T02:30:35+00:00</updated>
<author>
<name>Jordan Cook</name>
<email>jordan.cook@pioneer.com</email>
</author>
<published>2021-04-01T02:29:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/requests-cache.git/commit/?id=5b3a14ab6273ac6964a2b7a22032581b0d647218'/>
<id>5b3a14ab6273ac6964a2b7a22032581b0d647218</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add logging to main cache operations</title>
<updated>2021-03-30T19:35:30+00:00</updated>
<author>
<name>Jordan Cook</name>
<email>jordan.cook@pioneer.com</email>
</author>
<published>2021-03-30T03:26:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/requests-cache.git/commit/?id=163271150f49830f498d7966ac7ba2df4c2cce83'/>
<id>163271150f49830f498d7966ac7ba2df4c2cce83</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Consolidate expiration, pre-serializiation, and other response object logic into CachedResponse class:</title>
<updated>2021-03-22T18:39:55+00:00</updated>
<author>
<name>Jordan Cook</name>
<email>jordan.cook@pioneer.com</email>
</author>
<published>2021-03-18T22:20:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/requests-cache.git/commit/?id=aa9579ddf3108f795767f341258395aa10ee8f45'/>
<id>aa9579ddf3108f795767f341258395aa10ee8f45</id>
<content type='text'>
* Replace `_RawStore`  with `CachedHTTPResponse` class to wrap raw responses
    * Maintain support for streaming requests (#68)
    * Improve handling for generator usage
    * Add support for use with `pandas.read_csv()` and similar readers (#148)
    * Add support for use as a context manager (#148)
    * Add support for `decode_content` arg
* Fix streaming requests when used with memory backend (#188)
* Verified that `PreparedRequest.body` is always encoded in utf-8, so no need to detect encoding (Re: TODO note)
* Response creation time and expiration time are stored as CachedResponse, so the `(response, timestamp)` tuple is no longer necessary
* Rename `response.expire_after` and `response.cache_date` to `expires` and `created_at`, respectively, based on browser cache directives
* Add optional `expire_after` param to `CachedSession.remove_old_responses()`
* Make `CachedSession` members `allowable_codes, allowable_methods, filter_fn, old_data_on_error`
  public, since they can safely be modified after initialization
* More type annotations and docstring updates
* Move main cache documentation from `CacheMixin` to CachedSession`, since that's probably where a user would look first
* Wrap temporary `_request_expire_after` in a contextmanager
* Add intersphinx links for `urllib` classes &amp; methods
* Fix linting issues raised by flake8
* Start adding some unit tests using requests-mock

tmp
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Replace `_RawStore`  with `CachedHTTPResponse` class to wrap raw responses
    * Maintain support for streaming requests (#68)
    * Improve handling for generator usage
    * Add support for use with `pandas.read_csv()` and similar readers (#148)
    * Add support for use as a context manager (#148)
    * Add support for `decode_content` arg
* Fix streaming requests when used with memory backend (#188)
* Verified that `PreparedRequest.body` is always encoded in utf-8, so no need to detect encoding (Re: TODO note)
* Response creation time and expiration time are stored as CachedResponse, so the `(response, timestamp)` tuple is no longer necessary
* Rename `response.expire_after` and `response.cache_date` to `expires` and `created_at`, respectively, based on browser cache directives
* Add optional `expire_after` param to `CachedSession.remove_old_responses()`
* Make `CachedSession` members `allowable_codes, allowable_methods, filter_fn, old_data_on_error`
  public, since they can safely be modified after initialization
* More type annotations and docstring updates
* Move main cache documentation from `CacheMixin` to CachedSession`, since that's probably where a user would look first
* Wrap temporary `_request_expire_after` in a contextmanager
* Add intersphinx links for `urllib` classes &amp; methods
* Fix linting issues raised by flake8
* Start adding some unit tests using requests-mock

tmp
</pre>
</div>
</content>
</entry>
</feed>
