-
Notifications
You must be signed in to change notification settings - Fork 25
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
Support overriding Content-Length
header
#5
Comments
code:
Things of note:
|
Appears to be a limitation in xqd that you can never have a content-length on streams since you can not set the header and xqd has no way of knowing the body size at the time of sending headers. Feels like we need to implement |
One potential workaround is to ensure that the stream has been closed by the time the Response is sent. That would mean only creating the actual As all solutions that work around the limitation in the underlying platform — that content can't set the |
Content-Length
header
C@E now supports overriding the The right way to expose this is probably as a property on the |
Client set up a new JS C@E service and everything is working correctly with the exception that our content-length header is not being returned. Turns out in practice this doesn’t matter a ton because clients are looking for the content-range which is being returned correctly. But we would definitely want this fixed before completely switching over to C@E in production.
@tschneidereit
The text was updated successfully, but these errors were encountered: