# File lib/openstack/swift/storage_object.rb, line 136
    def data(size = -1, offset = 0, headers = {})
      headers = {'content-type'=>'application/json'}
      if size.to_i > 0
        range = sprintf("bytes=%d-%d", offset.to_i, (offset.to_i + size.to_i) - 1)
        headers['Range'] = range
      end
      path = "/#{@containername}/#{@name}"
      begin
        response = @container.swift.connection.req("GET", URI.encode(path), {:headers=>headers})
        response.body
      rescue OpenStack::Exception::ItemNotFound => not_found
        msg = "No Object \"#{@name}\" found in Container \"#{@containername}\".  #{not_found.message}"
        raise OpenStack::Exception::ItemNotFound.new(msg, not_found.response_code, not_found.response_body)
      end
    end