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
{{ message }}
Repository navigation
Invoke-WebRequest if no -ContentType check -Headers @{Content-Type=...} #9851
Existing Issue: Search the existing issues for this repository. If there is an issue that fits your needs do not file a new one. Subscribe, react, or comment on that issue instead.
Descriptive Title: Write the title for this issue as a short synopsis. If possible, provide context. For example, "Document new Get-Foo cmdlet" instead of "New cmdlet."
Summary
Currently we only check for -ContentType and we ignore -Headers @{Content-Type=...} after this PR we also check for ContentType in headers
If we set both -ContentType and -Headers @{Content-Type=...} --> -ContentType is used
Activity
(MicrosoftDocsGH-9851) Update docs for ContentType in web cmdlets
Document improvements to web cmdlets for 7.4 (MicrosoftDocs#9903)