parameters: (self)
return_statement: return self._content
docstring: Content of the response, in bytes.
docstring_summary: Content of the response, in bytes.
docstring_tokens: Content of the response in bytes .
function: def content(self):
          """Content of the response, in bytes."""
  
          if self._content is False:
              # Read the contents.
              try:
                  if self._content_consumed:
                      raise RuntimeError(
                          'The content for this response was already consumed')
  
                  if self.status_code == 0:
                      self._content = None
                  else:
                      self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes()
  
              except AttributeError:
                  self._content = None
  
          self._content_consumed = True
          # don't need to release the connection; that's been handled by urllib3
          # since we exhausted the data.
          return self._content
function_tokens: def content ( self ) : if self . _content is False : # Read the contents. try : if self . _content_consumed : raise RuntimeError ( 'The content for this response was already consumed' ) if self . status_code == 0 : self . _content = None else : self . _content = bytes ( ) . join ( self . iter_content ( CONTENT_CHUNK_SIZE ) ) or bytes ( ) except AttributeError : self . _content = None self . _content_consumed = True # don't need to release the connection; that's been handled by urllib3 # since we exhausted the data. return self . _content