Skip to content

Add -PreserveAuthorizationOnRedirect Invoke-WebRequest and Invoke-RestMethod#1269

Merged
juanpablojofre merged 1 commit intoMicrosoftDocs:stagingfrom
dantraMSFT:staging
Jun 12, 2017
Merged

Add -PreserveAuthorizationOnRedirect Invoke-WebRequest and Invoke-RestMethod#1269
juanpablojofre merged 1 commit intoMicrosoftDocs:stagingfrom
dantraMSFT:staging

Conversation

@dantraMSFT
Copy link
Copy Markdown
Contributor

The fix for the PowerShell issue 2227 (PowerShell/PowerShell#2227) strips the Authorization header when a redirect occurs. For edge cases, the -PreserveAuthorizationOnRedirect switch disables the header stripping logic.

@msftclas
Copy link
Copy Markdown

msftclas commented Jun 8, 2017

@dantraMSFT,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@saldana
Copy link
Copy Markdown
Contributor

saldana commented Jun 8, 2017

✅ Validation status: passed

File Status Preview URL Details
reference/6/Microsoft.PowerShell.Utility/Invoke-RestMethod.md ✅Succeeded
reference/6/Microsoft.PowerShell.Utility/Invoke-WebRequest.md ✅Succeeded

For more details, please refer to the build report.

Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@juanpablojofre juanpablojofre merged commit cc49efb into MicrosoftDocs:staging Jun 12, 2017
@andyleejordan andyleejordan removed the in-progress Tag - issue is being worked on by someone label Jun 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants