Closed xiongyihui closed 7 years ago
support generator type data
Usage:
from hyper import HTTPConnection def gen(): yield 'hello' yield 'world' conn = HTTPConnection('http2bin.org:443') conn.request('POST', '/post', body=gen()) print(conn.get_response().read())
fix that data with integral multiple of the MAX_CHUNK size does not end stream.
MAX_CHUNK
My bad. Updated. It still failed :(
support generator type data
Usage:
fix that data with integral multiple of the
MAX_CHUNK
size does not end stream.