5 writes to _HttpResponse
System (5)
net\System\Net\HttpWebRequest.cs (5)
1825
_HttpResponse
= null;
3739
_HttpResponse
= new HttpWebResponse(GetRemoteResourceUri(), CurrentMethod,
4241
_HttpResponse
= new HttpWebResponse(GetRemoteResourceUri(), CurrentMethod, responseData,
4308
_HttpResponse
= new HttpWebResponse(GetRemoteResourceUri(), CurrentMethod, responseData,
6019
_HttpResponse
= null;
50 references to _HttpResponse
System (50)
net\System\Net\_CookieModule.cs (1)
69
HttpWebResponse response = httpWebRequest.
_HttpResponse
as HttpWebResponse;
net\System\Net\HttpWebRequest.cs (49)
682
if (
_HttpResponse
==null) {
689
return
_HttpResponse
.Headers[header];
870
return
_HttpResponse
.StatusCode;
1789
if (
_HttpResponse
!= null) {
1802
if (
_HttpResponse
== null)
1823
ConnectionReturnResult.Add(ref connectionResult, this,
_HttpResponse
.CoreResponseData);
1855
if (CacheProtocol != null &&
_HttpResponse
!= null)
3156
webException = new WebException(NetRes.GetWebStatusString("net_requestaborted", WebExceptionStatus.RequestCanceled), exception, WebExceptionStatus.RequestCanceled,
_HttpResponse
);
3744
if(Logging.On)Logging.Associate(Logging.Web, this,
_HttpResponse
);
3774
GlobalLog.Enter("HttpWebRequest#" + ValidationHelper.HashString(this) + "::ProcessResponse", "From Cache = " +
_HttpResponse
.IsFromCache);
3787
object result = exception != null ? (object) exception : (object)
_HttpResponse
;
3802
FinishRequest(
_HttpResponse
, exception); // never throws
3820
if (exception == null && _ReadAResult.Result != (object)
_HttpResponse
)
3825
GlobalLog.Assert(object.ReferenceEquals(webException.Response,
_HttpResponse
), "HttpWebRequset#{0}::ProcessResponse|Different HttpWebResponse in exception versus _HttpResponse.", ValidationHelper.HashString(this));
3826
_HttpResponse
.Abort(); // never throws
3894
E = new WebException(NetRes.GetWebStatusString("net_requestaborted", WebExceptionStatus.RequestCanceled), unexpectedException, WebExceptionStatus.RequestCanceled,
_HttpResponse
);
3904
if (
_HttpResponse
==null) {
3913
_HttpResponse
.StatusDescription)),
3916
_HttpResponse
);
3925
HttpWebResponse chkResponse =
_HttpResponse
;
4243
_HttpResponse
.InternalSetFromCache = true;
4244
_HttpResponse
.InternalSetIsCacheFresh = (ctx.CacheFreshnessStatus != CacheFreshnessStatus.Stale);
4272
Stream oldResponseStream =
_HttpResponse
.ResponseStream;
4274
CacheProtocol.GetRevalidateStatus(
_HttpResponse
,
_HttpResponse
.ResponseStream);
4313
_HttpResponse
.InternalSetFromCache = true;
4314
_HttpResponse
.InternalSetIsCacheFresh = CacheProtocol.IsCacheFresh;
4346
if (CacheProtocol.GetUpdateStatus(
_HttpResponse
,
_HttpResponse
.ResponseStream) == CacheValidationStatus.UpdateResponseInformation)
4348
_HttpResponse
.ResponseStream = CacheProtocol.ResponseStream;
5623
e = new WebException(message, innerException, WebExceptionStatus.ProtocolError,
_HttpResponse
);
5651
NetRes.GetWebStatusCodeString(ResponseStatusCode,
_HttpResponse
.StatusDescription)),
5666
NetRes.GetWebStatusCodeString(ResponseStatusCode,
_HttpResponse
.StatusDescription)),
5669
_HttpResponse
);
5676
HttpWebResponse response =
_HttpResponse
;
5734
string location =
_HttpResponse
.Headers.Location;
5739
NetRes.GetWebStatusCodeString(ResponseStatusCode,
_HttpResponse
.StatusDescription)),
5888
NetRes.GetWebStatusCodeString(ResponseStatusCode,
_HttpResponse
.StatusDescription)),
5896
NetRes.GetWebStatusCodeString(ResponseStatusCode,
_HttpResponse
.StatusDescription)),
5912
e = new WebException(SR.GetString(SR.net_need_writebuffering), null, WebExceptionStatus.ProtocolError,
_HttpResponse
);
5934
WebExceptionStatus.ProtocolError,
_HttpResponse
));
5986
if (
_HttpResponse
!= null &&
_HttpResponse
.ResponseStream != null) {
5991
if (!
_HttpResponse
.KeepAlive) {
5992
ConnectStream liveStream =
_HttpResponse
.ResponseStream as ConnectStream;
5999
ICloseEx icloseEx =
_HttpResponse
.ResponseStream as ICloseEx;
6004
_HttpResponse
.ResponseStream.Close();
6018
HttpWebResponse priorResponse =
_HttpResponse
;
6117
if ( errorException == null &&
_HttpResponse
!= null &&