parameters: (self)
return_statement: return body
docstring: The HTTP request body as a seekable file-like object.
  
              This property returns a copy of the `wsgi.input` stream and should
              be used instead of `environ['wsgi.input']`.
docstring_summary: The HTTP request body as a seekable file-like object.
docstring_tokens: The HTTP request body as a seekable file - like object .
function: def _body(self):
          """ The HTTP request body as a seekable file-like object.
  
              This property returns a copy of the `wsgi.input` stream and should
              be used instead of `environ['wsgi.input']`.
           """
          maxread = max(0, self.content_length)
          stream = self.environ['wsgi.input']
          body = BytesIO() if maxread < const.MEMFILE_MAX else TemporaryFile(mode='w+b')
          while maxread > 0:
              part = stream.read(min(maxread, const.MEMFILE_MAX))
              if not part: break
              body.write(part)
              maxread -= len(part)
          self.environ['wsgi.input'] = body
          body.seek(0)
          return body
function_tokens: def _body ( self ) : maxread = max ( 0 , self . content_length ) stream = self . environ [ 'wsgi.input' ] body = BytesIO ( ) if maxread < const . MEMFILE_MAX else TemporaryFile ( mode = 'w+b' ) while maxread > 0 : part = stream . read ( min ( maxread , const . MEMFILE_MAX ) ) if not part : break body . write ( part ) maxread -= len ( part ) self . environ [ 'wsgi.input' ] = body body . seek ( 0 ) return body