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

Popular posts from this blog

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -