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

FIX content-length header gets incorrectly set to 0 by default

Open jaepetto opened this issue 3 years ago • 0 comments

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.

jaepetto avatar Oct 25 '22 14:10 jaepetto