Is it possible to make a downloadstring()
and using gzip-compression
, if the server is accepting this?
$wc = New-Object System.Net.WebClient
$wc.Encoding = [System.Text.Encoding]::UTF8
$wc.Headers.Add("User-Agent: Other")
$qc = $wc.Downloadstring($url)
Does anyone know the correct Headers.Add
or what do we have to add?