Skip to content

Document improvements to web cmdlets for 7.4 #9903

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

michaeltlombardi
Copy link
Contributor

@michaeltlombardi michaeltlombardi commented Mar 14, 2023

PR Summary

This change documents several improvements to the web cmdlets in PowerShell 7.4:

PR Checklist

  • Descriptive Title: This PR's title is a synopsis of the changes it proposes.
  • Summary: This PR's summary describes the scope and intent of the change.
  • Contributor's Guide: I have read the contributors guide.
  • Style: This PR adheres to the style guide.

This change adds the **AllowInsecureRedirect** parameter to
the web cmdlets.

- Fixes AB#70151
- Resolves MicrosoftDocs#9689
This change adds the **PreserveHttpMethodOnRedirect** parameter
to the web cmdlets.

- Fixes AB#70152
- Resolves MicrosoftDocs#9690
This change documents the updated behavior for preferring the value of
the **ContentType** parameter when the `Content-Type` header is defined
in the value of the **Headers** parameter.

- Fixes AB#70154
- Resolves MicrosoftDocs#9851
This change updates the docs for 7.4 to include the changed behavior
for automatically setting the content type for PUT requests when the
content type is not specified, aligning the behavior to the existing
behavior for POST.

- Fixes AB#70155
- Resolves MicrosoftDocs#9863
@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 8a66abe:

✅ Validation status: passed

File Status Preview URL Details
reference/7.4/Microsoft.PowerShell.Utility/Invoke-RestMethod.md ✅Succeeded View (powershell-7.4)
reference/7.4/Microsoft.PowerShell.Utility/Invoke-WebRequest.md ✅Succeeded View (powershell-7.4)

For more details, please refer to the build report.

Note: Links can become broken if there are changes on the target sites.

For any questions, please:

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 0fd1c9d:

✅ Validation status: passed

File Status Preview URL Details
reference/7.4/Microsoft.PowerShell.Utility/Invoke-RestMethod.md ✅Succeeded View (powershell-7.4)
reference/7.4/Microsoft.PowerShell.Utility/Invoke-WebRequest.md ✅Succeeded View (powershell-7.4)

For more details, please refer to the build report.

Note: Links can become broken if there are changes on the target sites.

For any questions, please:

Copy link
Contributor

@sdwheeler sdwheeler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sdwheeler sdwheeler merged commit fd29f39 into MicrosoftDocs:main Mar 14, 2023
@michaeltlombardi michaeltlombardi deleted the improvement/main/web-cmdlets-7.4 branch March 14, 2023 17:34
@sdwheeler sdwheeler added this to the 7.4 milestone Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants