4 writes to m_StatusCode
System (4)
net\System\Net\_Connection.cs (1)
2144
m_ResponseData.
m_StatusCode
= (HttpStatusCode) m_StatusLineValues.StatusCode;
net\System\Net\HttpWebRequest.cs (2)
4236
responseData.
m_StatusCode
= ctx.CacheStatusCode;
4298
responseData.
m_StatusCode
= ctx.CacheStatusCode;
net\System\Net\Internal.cs (1)
1767
cloneResponseData.
m_StatusCode
= m_StatusCode;
19 references to m_StatusCode
System (19)
net\System\Net\_Connection.cs (15)
2222
dummyResponseStream = !request.CanGetResponseStream || m_ResponseData.
m_StatusCode
< HttpStatusCode.OK ||
2223
m_ResponseData.
m_StatusCode
== HttpStatusCode.NoContent || (m_ResponseData.
m_StatusCode
== HttpStatusCode.NotModified && contentLength < 0) ;
2249
else if (m_ResponseData.
m_StatusCode
== HttpStatusCode.Forbidden && NetworkStream is TlsStream)
2259
else if (m_ResponseData.
m_StatusCode
> HttpWebRequest.MaxOkStatus &&
2394
if (m_ResponseData.
m_StatusCode
> HttpWebRequest.MaxOkStatus)
2428
if (m_CurrentRequest.IsWebSocketRequest && m_ResponseData.
m_StatusCode
== HttpStatusCode.SwitchingProtocols)
2675
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::ParseResponseData() DataParseStatus.Done StatusCode:" + (int)m_ResponseData.
m_StatusCode
+ " m_BytesRead:" + m_BytesRead + " m_BytesScanned:" + m_BytesScanned);
2692
if(m_IISVersion == -1 && m_ResponseData.
m_StatusCode
!= HttpStatusCode.Continue){
2699
bool isUnknownInterimResponse = ServicePointManager.UseStrictRfcInterimResponseHandling ? ((int)m_ResponseData.
m_StatusCode
> 101 && (int)m_ResponseData.
m_StatusCode
< 200) : false;
2701
if (m_ResponseData.
m_StatusCode
== HttpStatusCode.Continue || m_ResponseData.
m_StatusCode
== HttpStatusCode.BadRequest || isUnknownInterimResponse) {
2706
if (m_ResponseData.
m_StatusCode
== HttpStatusCode.BadRequest) {
2722
if (m_ResponseData.
m_StatusCode
== HttpStatusCode.Continue)
net\System\Net\HttpWebRequest.cs (2)
2420
ContinueDelegate((int) response.
m_StatusCode
, response.m_ResponseHeaders);
3474
ContinueDelegate((int)continueResponse.
m_StatusCode
, continueResponse.m_ResponseHeaders);
net\System\Net\HttpWebResponse.cs (1)
515
m_StatusCode = coreData.
m_StatusCode
;
net\System\Net\Internal.cs (1)
1767
cloneResponseData.m_StatusCode =
m_StatusCode
;