   cookiePath = loginPath + '?' + querystring.stringify
     auth: auth
   options = getRequestOptions 'GET', apiHost, cookiePath
+  options.headers =
+    'User-Agent': 'ingress-table'
   req = https.request options, (res) ->
     unless res.headers['set-cookie']
       return callback new Error 'No cookie received'

    'Cookie': cookie
    'X-XsrfToken': xsrf
    'Content-Type': 'application/json'

  data =
    params: [portals]

  options = getRequestOptions 'GET', apiHost, xsrfPath
  options.headers =
    'Cookie': cookie
    'User-Agent': 'ingress-table'
  req = https.request options, (res) ->
    unless res.statusCode is 200
      data = ''
      res.on 'data', (chunk) ->
        data += chunk
      res.on 'end', ->
        return callback new Error 'XSFR request failed: ' + data
    data = ''
    res.on 'data', (chunk) ->
      data += chunk
