diff options
author | Matthew Gumport <[email protected]> | 2024-10-21 14:55:19 -0700 |
---|---|---|
committer | Kevin Guthrie <[email protected]> | 2024-10-28 11:51:38 -0400 |
commit | fafc38ac59e9539cdfe04f21f4b1e98fa954559e (patch) | |
tree | 474f05c737383aa87df69164f7066ee5008020d8 /pingora-cache/src/lib.rs | |
parent | 80541d19801ef54417434d2d28b87d932c8d36f6 (diff) | |
download | pingora-fafc38ac59e9539cdfe04f21f4b1e98fa954559e.tar.gz pingora-fafc38ac59e9539cdfe04f21f4b1e98fa954559e.zip |
change `CachePut::cacheable` to own `ResponseHeader`
This changes the `CachePut` trait to take ownership of the response
header. We have a use-case for mutating the headers as we process the
response, and we would like to avoid copying them in order to do so.
Diffstat (limited to 'pingora-cache/src/lib.rs')
0 files changed, 0 insertions, 0 deletions