Skip to content

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

Open
jaepetto wants to merge 1 commit into
a-luna:mainfrom
jaepetto:patch-fix-invalid-content-length-header-default-value
Open

FIX content-length header gets incorrectly set to 0 by default#71
jaepetto wants to merge 1 commit into
a-luna:mainfrom
jaepetto:patch-fix-invalid-content-length-header-default-value

Conversation

@jaepetto

Copy link
Copy Markdown

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.

1 participant