parameters: (self)
return_statement: return data
docstring: read body until content-length or MEMFILE_MAX into a string. Raise
              HTTPError(413) on requests that are to large.
docstring_summary: read body until content-length or MEMFILE_MAX into a string. Raise
              HTTPError(413) on requests that are to large.
docstring_tokens: read body until content - length or MEMFILE_MAX into a string . Raise HTTPError ( 413 ) on requests that are to large .
function: def _get_body_string(self):
          ''' read body until content-length or MEMFILE_MAX into a string. Raise
              HTTPError(413) on requests that are to large. '''
          clen = self.content_length
          if clen > self.MEMFILE_MAX:
              raise HTTPError(413, 'Request to large')
          if clen < 0: clen = self.MEMFILE_MAX + 1
          data = self.body.read(clen)
          if len(data) > self.MEMFILE_MAX: # Fail fast
              raise HTTPError(413, 'Request to large')
          return data
function_tokens: def _get_body_string ( self ) : clen = self . content_length if clen > self . MEMFILE_MAX : raise HTTPError ( 413 , 'Request to large' ) if clen < 0 : clen = self . MEMFILE_MAX + 1 data = self . body . read ( clen ) if len ( data ) > self . MEMFILE_MAX : # Fail fast raise HTTPError ( 413 , 'Request to large' ) return data