| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Match whether ignored_parameters are present in a request (without matching ↵ | Jordan Cook | 2022-09-29 | 1 | -8/+13 |
| | | | | | content) | ||||
| * | Add support for duplicate request params | Jordan Cook | 2022-08-15 | 1 | -13/+23 |
| | | |||||
| * | Some additional logging and tests | Jordan Cook | 2022-06-16 | 1 | -2/+8 |
| | | |||||
| * | Normalize ordering and whitespace for multi-value request headers | Jordan Cook | 2022-06-16 | 1 | -3/+17 |
| | | |||||
| * | Consolidate BaseCache convenience methods into contains(), filter(), and ↵ | Jordan Cook | 2022-06-11 | 1 | -9/+4 |
| | | | | | delete() | ||||
| * | Add misc missing test coverage | Jordan Cook | 2022-04-20 | 1 | -3/+2 |
| | | |||||
| * | Refactor utilities for parsing cache headers into CacheDirectives class | Jordan Cook | 2022-04-18 | 1 | -1/+1 |
| | | |||||
| * | Add serializer name to cache key to avoid errors due to switching serializers | Jordan Cook | 2022-04-15 | 1 | -1/+3 |
| | | |||||
| * | Add default list of ignored_parameters for most common authentication ↵ | Jordan Cook | 2022-04-10 | 1 | -3/+2 |
| | | | | | params/headers | ||||
| * | Remove 'default exclude headers', since match_headers now accepts a list of ↵ | Jordan Cook | 2022-04-10 | 1 | -10/+3 |
| | | | | | specific headers to match | ||||
| * | Split datetime-related utility functions into a separate module | Jordan Cook | 2022-03-29 | 1 | -15/+2 |
| | | |||||
| * | Fix typo | Jordan Cook | 2022-03-17 | 1 | -1/+1 |
| | | |||||
| * | Skip normalizing a JSON request body if it's excessively large (>10MB) due ↵ | Jordan Cook | 2022-02-22 | 1 | -2/+5 |
| | | | | | to performance impact | ||||
| * | Fix request normalization for request body with a list as a JSON root | Jordan Cook | 2022-02-22 | 1 | -2/+17 |
| | | |||||
| * | Skip empty body decode/encode in normalize_json_body | Elan Ruusamäe | 2022-02-03 | 1 | -0/+4 |
| | | | | | | There's no point to decode/encode empty input. It will always fail and original be returned. | ||||
| * | Add support for key-only request parameters | Jordan Cook | 2022-01-14 | 1 | -2/+7 |
| | | |||||
| * | Bump invalid JSON message from 'warning' to 'debug' log level | Jordan Cook | 2022-01-10 | 1 | -1/+1 |
| | | | | | Fixes #494 | ||||
| * | Format using a more typical line length of 100 | Jordan Cook | 2022-01-01 | 1 | -2/+6 |
| | | |||||
| * | Fix black and type checking issues, and update changelog | Jordan Cook | 2022-01-01 | 1 | -2/+3 |
| | | |||||
| * | make order of headers repeatable | Sergey Chvalyuk | 2021-12-17 | 1 | -0/+1 |
| | | | | | Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com> | ||||
| * | Move misc minor utils to a separate module | Jordan Cook | 2021-10-27 | 1 | -1/+1 |
| | | |||||
| * | Fix some type checking issues with latest mypy pre-commit hook version | Jordan Cook | 2021-10-23 | 1 | -2/+2 |
| | | |||||
| * | Reorganize & improve request normalization functions: | Jordan Cook | 2021-09-20 | 1 | -119/+124 |
| | | | | | | | | | | | | | * Handle all normalization in `cache_keys` module, get rid of `normalize_dict()` function used in `CachedSession` * Reorganize `cache_keys` helper functions into the following: * `normalize_request()` * `normalize_url()` * `normalize_headers()` * `normalize_params()` * `normalize_body()` * `normalize_json_body()` * `redact_response()` | ||||
| * | Redact ingored_parameters from CachedResponse.url | Jordan Cook | 2021-09-15 | 1 | -14/+23 |
| | | |||||
| * | Use blake2 instead of sha256 for hashing request info | Jordan Cook | 2021-09-06 | 1 | -2/+3 |
| | | | | | | | | | | With an 8-byte digest for shorter cache keys. This is still plenty long enough to avoid hash collisions: `4e-15` for 100,000 items, `4e-7` chance for 1 billion items, etc. This makes it more convenient for manually inspecting cache items, especially for the filesystem backend, which uses cache keys as filenames. | ||||
| * | Allow match_headers to optionally accept a list of specific headers to match | Jordan Cook | 2021-09-06 | 1 | -30/+47 |
| | | |||||
| * | Alias/rename 'include_get_headers' to 'match_headers' for clarity ↵ | Jordan Cook | 2021-09-06 | 1 | -2/+2 |
| | | | | | (backwards-compatibile) | ||||
| * | Fix some type checking issues | Jordan Cook | 2021-08-28 | 1 | -0/+2 |
| | | |||||
| * | Allow has_url(), delete_url(), and create_key() to optionally take ↵ | Jordan Cook | 2021-08-28 | 1 | -10/+11 |
| | | | | | requests.Request arguments | ||||
| * | Add some additional tests for cache key normalization | Jordan Cook | 2021-08-28 | 1 | -2/+1 |
| | | |||||
| * | Move autosummaries to module docstrings instead of template, to make them ↵ | Jordan Cook | 2021-08-20 | 1 | -0/+4 |
| | | | | | easier to customize | ||||
| * | Some misc docstring edits | Jordan Cook | 2021-08-19 | 1 | -6/+10 |
| | | |||||
| * | Exclude cache headers from cache key by default | Jordan Cook | 2021-08-14 | 1 | -1/+3 |
| | | |||||
| * | Add support for custom cache keys | Jordan Cook | 2021-08-14 | 1 | -22/+31 |
| | | |||||
| * | Add support for Last-Modified + If-Modified-Since headers | Jordan Cook | 2021-08-14 | 1 | -0/+1 |
| | | |||||
| * | Replace some 'type: ignore' statements with better type hinting | Jordan Cook | 2021-08-14 | 1 | -13/+18 |
| | | |||||
| * | Improve type annotations and fix type checking errors | Jordan Cook | 2021-07-06 | 1 | -34/+42 |
| | | |||||
| * | Integrate serializers with backends | Jordan Cook | 2021-06-11 | 1 | -14/+16 |
| | | |||||
| * | remove 'ignored parameters' from request prior to caching | Parker Hancock | 2021-06-03 | 1 | -0/+19 |
| | | |||||
| * | Don't show warnings for 'include_get_headers' and 'ignored_parameters' ↵ | Jordan Cook | 2021-04-18 | 1 | -1/+1 |
| | | | | | | | | kwargs in BaseStorage Also don't name them as private members, since they can safely by changed after initialization (e.g., `session.cache.include_get_headers = True`) | ||||
| * | Add 'verify' param to cache key | Jordan Cook | 2021-04-01 | 1 | -2/+4 |
| | | | | | Closes #209 | ||||
| * | Rename 'add_key_mapping' to 'save_redirect' and take a request instead of a ↵ | Jordan Cook | 2021-03-31 | 1 | -4/+4 |
| | | | | | cache key | ||||
| * | Move cache key utilities to a separate module | Jordan Cook | 2021-03-30 | 1 | -0/+109 |
