We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00b718e commit 30eab16Copy full SHA for 30eab16
test/RestSharp.Tests.Integrated/Server/TestServer.cs
@@ -52,6 +52,13 @@ public HttpServer(ITestOutputHelper? output = null) {
52
}
53
);
54
55
+ _app.MapPost(
56
+ "/post/set-cookie-redirect",
57
+ (HttpContext ctx) => {
58
+ ctx.Response.Cookies.Append("redirectCookie", "value1");
59
+ return Results.Redirect("/get-cookies", permanent: false, preserveMethod: false);
60
+ });
61
+
62
// PUT
63
_app.MapPut(
64
ContentResource,
0 commit comments