           # Retrieve the contents of a blob
           # -------
           @getBlob = (sha, isBase64) ->
-            _request 'GET', "#{_repoPath}/git/blobs/#{sha}", null, 'raw', isBase64
+            _request 'GET', "#{_repoPath}/git/blobs/#{sha}", null, {raw:true, isBase64:isBase64}
 
 
           # For a given file path, get the corresponding sha (blob for files, tree for dirs)

        # See http://developer.github.com/v3/#user-agent-required
        headers['User-Agent'] = userAgent if userAgent

        if (options.auth is 'oauth' and options.token) or (options.auth is 'basic' and options.username and options.password)
          if options.auth is 'oauth'
            auth = "token #{options.token}"
          else
            auth = 'Basic ' + base64encode("#{options.username}:#{options.password}")
          headers['Authorization'] = auth


        xhr = jQuery.ajax {
          url: getURL()
          type: method
          contentType: 'application/json'

          # Check if this user is following another user
          # -------
          @isFollowing = (user) ->
            _request 'GET', "#{_rootPath}/following/#{user}", null, {isBoolean:true}

          # List public keys for a user
          # -------
