-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Improvements in processing redirects with cookie containers. #2119
base: dev
Are you sure you want to change the base?
Commits on Feb 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 164b45f - Browse repository at this point
Copy the full SHA 164b45fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c6b39b5 - Browse repository at this point
Copy the full SHA c6b39b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 00b718e - Browse repository at this point
Copy the full SHA 00b718eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30eab16 - Browse repository at this point
Copy the full SHA 30eab16View commit details -
Update previous redirect test case since, the redirected URL sends co…
…okies as well...
Configuration menu - View commit details
-
Copy full SHA for 9c56c06 - Browse repository at this point
Copy the full SHA 9c56c06View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f9a142 - Browse repository at this point
Copy the full SHA 1f9a142View commit details -
Configuration menu - View commit details
-
Copy full SHA for d39f15c - Browse repository at this point
Copy the full SHA d39f15cView commit details -
Fix build error with respect to System.Web.HttpUtility.ParseQueryStri…
…ng.. wierd one..
Configuration menu - View commit details
-
Copy full SHA for 653d0e0 - Browse repository at this point
Copy the full SHA 653d0e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 487f138 - Browse repository at this point
Copy the full SHA 487f138View commit details -
FileParameter: Mark the obsoleted property as NOT CLSCompliant to red…
…uce warnings.. RequestContent: Don't use obsoleted property. RestClientOptions*: use new RedirectOptions class instead for FollowRedirects.
Configuration menu - View commit details
-
Copy full SHA for a0baaa6 - Browse repository at this point
Copy the full SHA a0baaa6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d3c7806 - Browse repository at this point
Copy the full SHA d3c7806View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28203df - Browse repository at this point
Copy the full SHA 28203dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6557da7 - Browse repository at this point
Copy the full SHA 6557da7View commit details -
Configuration menu - View commit details
-
Copy full SHA for eaae0b1 - Browse repository at this point
Copy the full SHA eaae0b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d8baf5 - Browse repository at this point
Copy the full SHA 9d8baf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6764396 - Browse repository at this point
Copy the full SHA 6764396View commit details -
Update xunit adapter and visual studio test SDK nuget pkg versions fo…
…r newer VS versions.
Configuration menu - View commit details
-
Copy full SHA for a69b48e - Browse repository at this point
Copy the full SHA a69b48eView commit details
Commits on Mar 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 88d141b - Browse repository at this point
Copy the full SHA 88d141bView commit details
Commits on Mar 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 73df366 - Browse repository at this point
Copy the full SHA 73df366View commit details -
Configuration menu - View commit details
-
Copy full SHA for aecb8bb - Browse repository at this point
Copy the full SHA aecb8bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b969f5 - Browse repository at this point
Copy the full SHA 7b969f5View commit details -
Add secure test server end point to TestServer.
Add secure test server untrusted certificate. Out of paranoia, don't let SimpleServer use either the secure or insecure ports from TestServer. Add tests both positive and negative for RedirectOptions.FollowRedirectsToInsecure Remember to override options.RemoteCertificateValidationCallback if you get a certificate validation error in new tests.
Configuration menu - View commit details
-
Copy full SHA for 950be06 - Browse repository at this point
Copy the full SHA 950be06View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee5e151 - Browse repository at this point
Copy the full SHA ee5e151View commit details
Commits on Mar 13, 2024
-
RestClient.Async.cs: Convert lots of bools to a [Flag] enum setup.
Add changes to allow the AlterVerb... RedirectOptions to work properly. RequestContent.cs: Add support for omitting the body (due to the HTTP Verb/Method changing under redirect processing) TestServer.cs: * Add certificate password for SSL test server. * Add HTTP verb changing related routes * Add dump-request route so that the method and hearders get dumped to response content to help enable authoring RedirectOption tests. * Minor tweaks to silence nullability warnings. RedirectTests.cs: Use new (Not)ContainCookieWithNameAndValue extension methods in tests, and use .And to cleanup the repetitive assertion code. RedirectOptionsTest.cs: * Add missing StatusCode assertions * Use new (Not)ContainCookieWithNameAndValue extension methods in the tests and .And. to cleanup the assertions. * For coverage reasons add initial request cookies to Can_RedirectForwardHeadersFalseWithCookie_DropHeaders. * New tests: Options.RedirectOptions.FollowRedirects = false Options.FollowRedirects = False (back compat) AllowForcedRedirectVerbChange = false with 302 AllowForcedRedirectVerbChange = false with 303 Change verb with defaults after 302 Change verb with defaults after 303 Don't chanve verb with defaults after 307 Options.CookieContainer contains expected results after a redirection. Change verb with defaults after 303, but with ForceForwardBody so that the request body is forwarded on the new verb. Additionally, due to having VS 17.9.3 updated xunit/ms test sdk nuget pkgs that makes some of the dependabot PRs obsolete.
Configuration menu - View commit details
-
Copy full SHA for 4ca3453 - Browse repository at this point
Copy the full SHA 4ca3453View commit details