anchor.diff:      client.Headers.Add("User-Agent", "Paket")
       client.Proxy <- getDefaultProxyFor url
   
  -    let githubToken = Environment.GetEnvironmentVariable "PAKET_GITHUB_API_TOKEN"
  +    let githubToken = getGithubToken()
   
       match auth with
       | Some (Credentials({Username = username; Password = password; Type = AuthType.Basic})) ->
  
positive.code:         handler.AutomaticDecompression <- DecompressionMethods.GZip ||| DecompressionMethods.Deflate
  
          let client = new HttpClient(handler)
          match auth with
          | None when not (isNull githubToken) ->
              client.DefaultRequestHeaders.Authorization <-
  
negative.code:         let env = env.ToLowerInvariant()
          env = "true" || env = "yes" || env = "y"
  
  let private getGithubToken () =
      Environment.GetEnvironmentVariable "PAKET_GITHUB_API_TOKEN"
  
  let createHttpClient (url,auth:Auth option) =
  #if !NO_WINCLIENTHANDLER
      if isWindows && not useDefaultHandler then
          // See https://github.com/dotnet/corefx/issues/31098
  