Question: http/1.1 chunked transfer encoding
wiresio opened this issue · 0 comments
wiresio commented
Question: Does serverless-wsgi support http/1.1 chunked transfer encoding e.g., using the following code?
from flask import stream_with_context, request, Response
@app.route('/stream')
def streamed_response():
def generate():
yield 'Hello '
yield request.args['name']
yield '!'
return Response(stream_with_context(generate()))