mirror of
https://github.com/AlexMacocian/Net.Sdk.Web.Extensions.git
synced 2026-07-15 13:39:29 +00:00
Fix CorrelationVectorMiddleware response manipulation
This commit is contained in:
@@ -29,8 +29,7 @@ public sealed class CorrelationVectorMiddleware : IMiddleware
|
||||
}
|
||||
|
||||
context.SetCorrelationVector(cv);
|
||||
await next(context);
|
||||
|
||||
context.Response.Headers.Append(this.options.Header, context.GetCorrelationVector().ToString());
|
||||
await next(context);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<OutputType>Library</OutputType>
|
||||
<IsPackable>true</IsPackable>
|
||||
<Version>0.7</Version>
|
||||
<Version>0.7.1</Version>
|
||||
<Authors>Alexandru Macocian</Authors>
|
||||
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
||||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
||||
|
||||
Reference in New Issue
Block a user