Flask direct responses for streaming and transfer encoding chunked -
flask documentation explains how stream contents of response here possible send large quantities of data client without having keep of in memory.
i created sample app using generator , passing response in view function. when make request using curl test view, not see 'transfer-encoding:chunked' header in response.
so if flask not sending response in chunks, how streaming code avoiding need have data in memory before sending client?
Comments
Post a Comment