Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jaepetto
Copy link

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.

jordant added a commit to dreamhost/fastapi-redis-cache that referenced this pull request Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant