     if server.url.indexOf('https') == 0 then http = 'https://' else http = 'http://'
     url = server.url.replace /^https?:\/\//, ''
     path = "#{http}#{user[0]}:#{user[1]}@#{url}/#{endpoint}"
-    console.log(path)
     request = @msg.http(path)
     @_configureRequest request, server
     request[method]() ((err, res, body) -> callback(err, res, body, server, folder))

    folderName = @_querystring.unescape(folderName).trim()
    folders = @_folders.where(name: folderName)
    if (recursive)
      for folder in @_folders
        folder = folder.getFolderByName(folderName)
        folders = folder.concat(folder)
    folders

  hasFolderByName: (folderName, recursive=true) =>

    jobs = @_jobs.where(name: jobName)
    # otherwise we must start searching the other folders
    if (recursive)
      for subFolder in @_folders
        subJobs = subFolder.getJobByName(jobName)
        jobs = jobs.concat(subJobs)
    jobs

  hasJobByName: (jobName, recursive=true) =>
