Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Commit 970437b

Browse files
committed
added missed change
1 parent 3f98d1c commit 970437b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Microsoft.AspNet.Owin/OwinEnvironment.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ public OwinEnvironment(HttpContext context)
6262
{ OwinConstants.ResponseHeaders, new FeatureMap<IHttpResponseFeature>(feature => feature.Headers, (feature, value) => feature.Headers = (IDictionary<string, string[]>)value) },
6363
{ OwinConstants.ResponseBody, new FeatureMap<IHttpResponseFeature>(feature => feature.Body, () => Stream.Null, (feature, value) => feature.Body = (Stream)value) },
6464
{ OwinConstants.CommonKeys.OnSendingHeaders, new FeatureMap<IHttpResponseFeature>(feature => new Action<Action<object>, object>(feature.OnSendingHeaders)) },
65+
{OwinConstants.CommonKeys.OnResponseCompleted, new FeatureMap<IHttpResponseFeature>(feature => new Action<Action<object>, object>
66+
(feature.OnResponseCompleted)) },
6567

6668
{ OwinConstants.CommonKeys.LocalPort, new FeatureMap<IHttpConnectionFeature>(feature => feature.LocalPort.ToString(CultureInfo.InvariantCulture),
6769
(feature, value) => feature.LocalPort = Convert.ToInt32(value, CultureInfo.InvariantCulture)) },

0 commit comments

Comments
 (0)