635
640
def read_streamed_body(self):
636
641
"""Read bytes from the body, decoding into a byte stream.
638
646
_body_decoder = ChunkedBodyDecoder()
639
647
while not _body_decoder.finished_reading:
641
649
bytes = self._request.read_bytes(bytes_wanted)
642
650
_body_decoder.accept_bytes(bytes)
643
651
for body_bytes in iter(_body_decoder.read_next_chunk, None):