fastapi-cache icon indicating copy to clipboard operation
fastapi-cache copied to clipboard

Fix header for caching binary responses.

Open yann-dubrana opened this issue 1 year ago • 0 comments

Based on hozn in #283, this is a simple modification that allow to copy headers if a custom encoder return an instance of a starlette response.

So we can cache binary data with custom response and have all the fastapi-cache header set.

yann-dubrana avatar Aug 07 '24 11:08 yann-dubrana