def get_http_auth_headers(config):
  """Returns HTTP headers for authentication to the API."""
  authorization = 'token {token}'.format(token=config.github_token)
  return {
      'Authorization': authorization,
      'Accept': 'application/vnd.github.v3+json'
  }