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

    # These are updated whenever a request is made
    _listeners = []

    constructor: (options={}) ->
      # Provide an option to override the default URL
      options.rootURL = options.rootURL or 'https://api.github.com'

      _request = (method, path, data, raw, isBase64) ->
        getURL = ->
          url = options.rootURL + path
          url + ((if (/\?/).test(url) then '&' else '?')) + (new Date()).getTime()

        # Support binary data by overriding the response mimeType
        mimeType = undefined
        mimeType = 'text/plain; charset=x-user-defined' if isBase64

        headers = {
          'Accept': 'application/vnd.github.raw'

          # Retrieve the contents of a blob
          # -------
          @getBlob = (sha, 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)
