code: def get_contents_as_string(self, headers=None,
                                 cb=None, num_cb=10,
                                 torrent=False,
                                 version_id=None,
                                 response_headers=None):
          
          fp = StringIO.StringIO()
          self.get_contents_to_file(fp, headers, cb, num_cb, torrent=torrent,
                                    version_id=version_id,
                                    response_headers=response_headers)
          return fp.getvalue()
docs: Retrieve an object from S3 using the name of the Key object as the
          key in S3.  Return the contents of the object as a string.
          See get_contents_to_file method for details about the
          parameters.
  
          :type headers: dict
          :param headers: Any additional headers to send in the request
  
          :type cb: function
          :param cb: a callback function that will be called to report
                     progress on the upload.  The callback should accept
                     two integer parameters, the first representing the
                     number of bytes that have been successfully
                     transmitted to S3 and the second representing the
                     size of the to be transmitted object.
  
          :type cb: int
          :param num_cb: (optional) If a callback is specified with
                         the cb parameter this parameter determines the
                         granularity of the callback by defining
                         the maximum number of times the callback will
                         be called during the file transfer.
  
          :type torrent: bool
          :param torrent: If True, returns the contents of a torrent file
                          as a string.
  
          :type response_headers: dict
          :param response_headers: A dictionary containing HTTP headers/values
                                   that will override any headers associated with
                                   the stored object in the response.
                                   See http://goo.gl/EWOPb for details.
  
          :rtype: string
          :returns: The contents of the file as a string