29 references to ResponseStatusCode
System (29)
net\System\Net\_AuthenticationState.cs (3)
338
GlobalLog.Print("AuthenticationState#" + ValidationHelper.HashString(this) + "::Update() httpWebRequest#" + ValidationHelper.HashString(httpWebRequest) + " Authorization#" + ValidationHelper.HashString(Authorization) + " ResponseStatusCode:" + httpWebRequest.
ResponseStatusCode
.ToString());
355
if (!IsProxyAuth && httpWebRequest.
ResponseStatusCode
==HttpStatusCode.ProxyAuthenticationRequired) {
391
if (httpWebRequest.PreAuthenticate && Module != null && Authorization.Complete && Module.CanPreAuthenticate && httpWebRequest.
ResponseStatusCode
!= StatusCodeMatch) {
net\System\Net\_DigestClient.cs (2)
200
if (httpWebRequest.
ResponseStatusCode
!=httpWebRequest.CurrentAuthenticationState.StatusCodeMatch) {
429
if (httpWebRequest.
ResponseStatusCode
!=httpWebRequest.CurrentAuthenticationState.StatusCodeMatch) {
net\System\Net\_KerberosClient.cs (1)
161
if (httpWebRequest.CurrentAuthenticationState.StatusCodeMatch==httpWebRequest.
ResponseStatusCode
) {
net\System\Net\_NegotiateClient.cs (1)
177
if (!authSession.IsCompleted && httpWebRequest.CurrentAuthenticationState.StatusCodeMatch==httpWebRequest.
ResponseStatusCode
) {
net\System\Net\_NtlmClient.cs (1)
169
if (!authSession.IsCompleted && httpWebRequest.CurrentAuthenticationState.StatusCodeMatch==httpWebRequest.
ResponseStatusCode
) {
net\System\Net\HttpWebRequest.cs (21)
3912
ResponseStatusCode
,
5641
if (
ResponseStatusCode
==HttpStatusCode.Unauthorized || // 401
5642
ResponseStatusCode
==HttpStatusCode.ProxyAuthenticationRequired) // 407
5651
NetRes.GetWebStatusCodeString(
ResponseStatusCode
, _HttpResponse.StatusDescription)),
5666
NetRes.GetWebStatusCodeString(
ResponseStatusCode
, _HttpResponse.StatusDescription)),
5694
if (
ResponseStatusCode
== HttpStatusCode.BadRequest && this.SendChunked
5717
ResponseStatusCode
==HttpStatusCode.Ambiguous || // 300
5718
ResponseStatusCode
==HttpStatusCode.Moved || // 301
5719
ResponseStatusCode
==HttpStatusCode.Redirect || // 302
5720
ResponseStatusCode
==HttpStatusCode.RedirectMethod || // 303
5721
ResponseStatusCode
==HttpStatusCode.RedirectKeepVerb )) // 307
5739
NetRes.GetWebStatusCodeString(
ResponseStatusCode
, _HttpResponse.StatusDescription)),
5805
if (
ResponseStatusCode
>MaxOkStatus) {
5806
if(Logging.On)Logging.PrintWarning(Logging.Web, this, "", SR.GetString(SR.net_log_server_response_error_code, ((int)
ResponseStatusCode
).ToString(NumberFormatInfo.InvariantInfo)));
5810
switch (
ResponseStatusCode
) {
5885
else if (
ResponseStatusCode
> MaxRedirectionStatus) // > 399 = fatal
5888
NetRes.GetWebStatusCodeString(
ResponseStatusCode
, _HttpResponse.StatusDescription)),
5893
else if (AllowAutoRedirect &&
ResponseStatusCode
> MaxOkStatus) //some of 3XX and AllowAutoRedirect==true will result into an exceptional respone
5896
NetRes.GetWebStatusCodeString(
ResponseStatusCode
, _HttpResponse.StatusDescription)),
6103
GlobalLog.Print("HttpWebRequest#" + ValidationHelper.HashString(this) + "::CheckFinalStatus() - status" + (int)
ResponseStatusCode
);
6122
ResponseStatusCode
<= MaxOkStatus)