Open jedie opened 2 months ago
I see. I can probably fix this without adding another configuration option. DO_NOT_CACHE
was intended more as an internal sentinel value rather than something to send in request headers. I'll try to get that fixed soon.
Feature description
Use case
I would like to create requests without the
Cache-Control
headers.Workarounds
I see no work-a-round, because
requests_cache.policy.directives.set_request_headers()
will be always called and will always theCache-Control
header :( (except ugly monkey-patch)Plan to implement
Yes
EDIT: Discovered that sending
DO_NOT_CACHE
cause my real problem, because0x0D0E0200020704
results in a very highmax-age
and the M$ server doesn't like it ;(