Open dlstucki opened 6 years ago
If the ResponseStream has already been written to when CopyHeaders gets called it's possible that that's too late to change the headers because they may have already been transmitted over the wire.
https://github.com/Azure/azure-relay-aspnetserver/blob/503cec828e348a1ed2d4021c747a746b946551fd/src/Microsoft.Azure.Relay.AspNetCore/Response.cs#L105
If the ResponseStream has already been written to when CopyHeaders gets called it's possible that that's too late to change the headers because they may have already been transmitted over the wire.
https://github.com/Azure/azure-relay-aspnetserver/blob/503cec828e348a1ed2d4021c747a746b946551fd/src/Microsoft.Azure.Relay.AspNetCore/Response.cs#L105