exceptionfactory commented on PR #11303: URL: https://github.com/apache/nifi/pull/11303#issuecomment-4604692714
Thanks for the review @pvillard31, good catch on the order of setting the response status. I made some adjustments to get the source content length and pass it to the `DownloadableContent` object, enabling determination of partial content status prior to stream handling. The `LimitingInputStream` still enforces the limit, even if the content length is something unknown, like `-1`, but the response status determination provides a best-effort approach to indicate whether truncation occurred. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
