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

Set "content-length" header on API responses #1835

Open
KyleAMathews opened this issue Oct 10, 2024 · 1 comment
Open

Set "content-length" header on API responses #1835

KyleAMathews opened this issue Oct 10, 2024 · 1 comment

Comments

@KyleAMathews
Copy link
Contributor

No description provided.

@msfstef
Copy link
Contributor

msfstef commented Oct 21, 2024

We cannot actually easily/cheaply include a content-length header because the responses are directly streamed from storage, which means that we don't know the size of the content when the initial response headers are sent.

Not sure if CDNs have any convenient utilities to add the header once they have cached the whole response for us.

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

No branches or pull requests

2 participants