File: external_config.yml

package info (click to toggle)
python-requests-cache 1.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 6,024 kB
  • sloc: python: 7,029; makefile: 4
file content (16 lines) | stat: -rw-r--r-- 291 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# See external_config.py for usage example
cache_settings:
  expire_after: 360
  cache_control: True
  stale_if_error: True
  allowable_methods:
    - GET
    - HEAD
    - POST
  allowable_codes:
    - 200
    - 400
  ignored_parameters:
    - api_key
  match_headers:
    - Accept-Language