Comments (3)
This sounds like a good idea. Would you mind making a pull request with a test? The a test could be asserting a huge URL is cached with a key length that is <= 255.
Thanks for submitting the issue.
from cachecontrol.
Alright. I'll try to take time to write that :)
For now I believe I found a time-zone issue in unittest.
I'm on a positive UTC offset, then tests/test_cache_control.py#test_cache_request_unfresh_max_age does not pass.
from cachecontrol.
@mxjeff Awsome! Thank you for finding the timezone issue!
from cachecontrol.
Related Issues (20)
- cachecontrol uses the deprecated utcnow method HOT 1
- cachecontrol is incompatible with Requests 2.30.0 HOT 34
- serialize.py function fails with HTTPResonse has no attribute "strict" HOT 6
- urllib3 2.0: Double reading causes IncompleteRead error
- test_not_modified_releases_connection fails with requests 2.29.0 HOT 1
- 0.12.12: pytest is failing in `tests/test_etag.py::TestReleaseConnection::test_not_modified_releases_connection` unit HOT 2
- 0.12.12: tests/ content is installed HOT 1
- Re-homing + new maintainers HOT 39
- SeparateBodyFileCache does not close the file HOT 2
- Trusted publishing to PyPI HOT 6
- RFC: Remove `serialize._loads_v1` and `_loads_v2` HOT 4
- Dependency change in patch version `0.12.13` broke some projects HOT 6
- The new SeparateBodyFileCache design makes updates/reads non-atomic HOT 4
- If a process crashes half-way through writing a cache entry to a file cache, it will get corrupted HOT 2
- download of partial content is defeated by cachecontrol HOT 3
- 24 tests fail HOT 4
- Race condition in FileCache that can result in empty body 200 response HOT 1
- Investigate failure to load caches above `2^32 - 1` bytes HOT 4
- Head request is not cached even with cacheable_methods=("GET", HEAD") without a previous GET HOT 6
- Drop Python 3.7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cachecontrol.