fastapi-redis-cache
fastapi-redis-cache copied to clipboard
FIX content-length header gets incorrectly set to 0 by default
As described in issue #70, the 'content-length' header gets incorrectly set to 0 when the cache is built. Therefore, the response is failing in uvicorn because it compares this value with the actual value of the content.