2 writes to _response
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (2)
137
_response
= new HttpResponseMessage()
172
_response
= null;
21 references to _response
System.Net.Http (21)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (21)
170
Debug.Assert(
_response
!= null);
171
HttpResponseMessage r =
_response
;
641
Debug.Assert(
_response
!= null);
642
_response
.StatusCode = (HttpStatusCode)statusCode;
649
if (
_response
.StatusCode == HttpStatusCode.Continue && _expect100ContinueWaiter != null)
657
if (statusCode == 200 &&
_response
.RequestMessage!.IsExtendedConnectRequest)
716
Debug.Assert(
_response
!= null &&
_response
.Content != null);
718
_response
.Content.Headers.TryAddWithoutValidation(descriptor, headerValue);
722
Debug.Assert(
_response
!= null);
724
_response
.Headers.TryAddWithoutValidation((descriptor.HeaderType & HttpHeaderType.Request) == HttpHeaderType.Request ? descriptor.AsCustomHeader() : descriptor, headerValue);
1070
Debug.Assert(
_response
is not null);
1071
if (HttpTelemetry.Log.IsEnabled()) HttpTelemetry.Log.ResponseHeadersStop((int)
_response
.StatusCode);
1079
Debug.Assert(
_response
!= null &&
_response
.Content != null);
1081
var responseContent = (HttpConnectionResponseContent)
_response
.Content;
1090
MoveTrailersToResponseMessage(
_response
);
1097
if (NetEventSource.Log.IsEnabled()) Trace($"Received response: {
_response
}");
1102
CookieHelper.ProcessReceivedCookies(
_response
, _connection._pool.Settings._cookieContainer!);
1552
Debug.Assert(http2Stream.
_response
!= null);
1554
_responseMessage = _http2Stream.
_response
;