You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently for cmdlets that upload files, the media content-type headerhas been set to null for all file types. Therefore the API treats such requests as an application/octet-stream.
There needs to be a feature that will automatically detect the file type and append the correct content-type header to the request.
timayabi2020
changed the title
Detect and generate correct content-type headers for input files instead of defaulting to application/octet-stream
Detect and generate correct content-type headers for input files
Dec 5, 2023
Currently for cmdlets that upload files, the media content-type headerhas been set to null for all file types. Therefore the API treats such requests as an application/octet-stream.
There needs to be a feature that will automatically detect the file type and append the correct content-type header to the request.
Related issue is here on autorest Azure/autorest.powershell#1286
The text was updated successfully, but these errors were encountered: