When performing file download operations against Infoblox using either Recieve-IBFile or manually via Invoke-IBWAPI or the native web cmdlets, Infoblox returns an HTTP 415 "Unsupported Media Type" response.
There seems to be a bug in PowerShell Core that is stripping the Content-Type header from GET requests. For some reason, Infoblox requires these GET requests to have an application/force-download Content-Type header and the HTTP 415 response when it is not found.
When performing file download operations against Infoblox using either
Recieve-IBFile
or manually viaInvoke-IBWAPI
or the native web cmdlets, Infoblox returns an HTTP 415 "Unsupported Media Type" response.There seems to be a bug in PowerShell Core that is stripping the Content-Type header from GET requests. For some reason, Infoblox requires these GET requests to have an
application/force-download
Content-Type header and the HTTP 415 response when it is not found.