Запрос кодирования блока Python
def gen():
yield 'hi'
yield 'there'
requests.post('http://some.url/chunked', data=gen())
Puzzled Puffin
def gen():
yield 'hi'
yield 'there'
requests.post('http://some.url/chunked', data=gen())