-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Add PreserveHttpMethodOnRedirect switch to Web cmdlets #18894
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
daxian-dbw
merged 33 commits into
PowerShell:master
from
CarloToso:WebCmdlets-persist-HTTP-method
Feb 14, 2023
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
b4467aa
Add PersistHTTPMethod parameter
CarloToso 720ece8
PersistHTTPMethod handle redirect
CarloToso 20520e6
PersistHTTPMethod manual redirect
CarloToso 1335810
replace IsRedirectToGet with RequestRequiresForceGet from dotnet
CarloToso a36718c
Update IsRedirectCode with code from RedirectHandler.cs
CarloToso 9499548
Add PersistHTTPMethod
CarloToso 689455b
Fix error
CarloToso 25ee798
fix test error (pasted else in the wrong place)
CarloToso 5278cf7
Convert to SwitchParameter and PreserveHTTPMethodOnRedirect
CarloToso 127d94c
Follow suggestions
CarloToso 575e076
join if
CarloToso b7e889a
Should Retry remove maximumretrycount add switch
CarloToso c9b5003
add static
CarloToso 065aa1f
RequestRequiresForceGet WebRequestMethod --> HttpMethod
CarloToso a3438f6
switch expressions
CarloToso 3b68566
switch expressions alphabetical order
CarloToso b7d24f2
switch expressions remove last ,
CarloToso 341a0a9
Merge branch 'master' into WebCmdlets-persist-HTTP-method
CarloToso 9ffef1e
remove spaces
CarloToso ef18722
handleRedirect = PreserveHTTPMethodOnRedirect
CarloToso 3a29cdc
remove spaces
CarloToso c4533ec
HTTP -> Http
CarloToso a9a67de
add tests
CarloToso 495ad87
add PreserveHttpMethodOnRedirect to ExecuteRedirectRequest
CarloToso c2000b7
fix tests
CarloToso 809cb3f
reverted
CarloToso bad7544
Merge branch 'master' into WebCmdlets-persist-HTTP-method
CarloToso a52207d
Merge branch 'master' into WebCmdlets-persist-HTTP-method
CarloToso c8aae98
merge
CarloToso 1cedff2
Merge branch 'master' into WebCmdlets-persist-HTTP-method
CarloToso ffa89b3
Merge branch 'master' into WebCmdlets-persist-HTTP-method
CarloToso c23befb
Merge branch 'PowerShell:master' into WebCmdlets-persist-HTTP-method
CarloToso c91c8f3
moved or
CarloToso File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.