We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
brotli will likely become the compressed transfer encoding of choice. Invoke-Webrequest and Invoke-RestMethod should support these natively.
Invoke-Webrequest
Invoke-RestMethod
Invoke-WebRequest https://www.bayden.com/test/brotliimg.aspx -Headers @{'Accept-Encoding' = 'br'} -OutFile C:\temp\brotli.jpg
C:\temp\brotli.jpg should be a jpeg
C:\temp\brotli.jpg
C:\temp\brotli.jpg is brotli compressed data.
Name Value ---- ----- PSVersion 6.0.0-beta PSEdition Core GitCommitId v6.0.0-beta.7 OS Microsoft Windows 10.0.15063 Platform Win32NT PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0
brotli will likely become the compressed transfer encoding of choice.
Invoke-WebrequestandInvoke-RestMethodshould support these natively.Steps to reproduce
Expected behavior
C:\temp\brotli.jpgshould be a jpegActual behavior
C:\temp\brotli.jpgis brotli compressed data.Environment data