code: def read_data(self):
          # type: () -> ByteString
          
          try:
              size = int(self.get_header("content-length"))
          except (ValueError, TypeError):
              size = -1
  
          return self.get_rfile().read(size)
docs: Reads all the data in the input stream
  
          :return: The read data