You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While looking into how to serve attachments as file handles, I found that for attachments the header 'Content-Length' was no longer added. There was only the incorrect comment:
# Content-Length will be added in Finalize()
This should be fixed using the function Plack::Util::content_length() in order to allow for file handles as response body.
Because that header was set in OTOBO 10.0.x.
Use Plack::Util::content_length() for determining the length, because in future the content
may be a file handle.
While looking into how to serve attachments as file handles, I found that for attachments the header 'Content-Length' was no longer added. There was only the incorrect comment:
This should be fixed using the function
Plack::Util::content_length()
in order to allow for file handles as response body.Originally posted by @bschmalhofer in #1397 (comment)
The text was updated successfully, but these errors were encountered: