OwinFeature collection throws NotSupported exception as the featurecollection is immutable
Addresses: https://github.com/aspnet/HttpAbstractions/issues/207
This commit is contained in:
parent
d6535eeba0
commit
fde3b0d2af
|
|
@ -11,7 +11,7 @@ namespace Microsoft.AspNet.Hosting.Builder
|
|||
{
|
||||
public HttpContext CreateHttpContext(IFeatureCollection featureCollection)
|
||||
{
|
||||
return new DefaultHttpContext(featureCollection);
|
||||
return new DefaultHttpContext(new FeatureCollection(featureCollection));
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue