627
630
def read_streamed_body(self):
628
631
"""Read bytes from the body, decoding into a byte stream.
630
636
_body_decoder = ChunkedBodyDecoder()
631
637
while not _body_decoder.finished_reading:
633
639
bytes = self._request.read_bytes(bytes_wanted)
634
640
_body_decoder.accept_bytes(bytes)
635
641
for body_bytes in iter(_body_decoder.read_next_chunk, None):