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 3d29994 commit ef93484Copy full SHA for ef93484
1 file changed
src/SqlStreamStore.HAL.DevServer/DevServerStartup.cs
@@ -47,16 +47,14 @@ public void Configure(IApplicationBuilder app) => app
47
48
private static MidFunc VaryAccept => (context, next) =>
49
{
50
- Task Vary(object state)
+ Task Vary()
51
52
- var response = (HttpResponse) state;
53
-
54
- response.Headers.AppendCommaSeparatedValues("Vary", "Accept");
+ context.Response.Headers.AppendCommaSeparatedValues("Vary", "Accept");
55
56
return Task.CompletedTask;
57
}
58
59
- context.Response.OnStarting(Vary, context.Response);
+ context.Response.OnStarting(Vary);
60
61
return next();
62
};
0 commit comments