8 writes to CacheHttpVersion
System (8)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (6)
400
ctx.
CacheHttpVersion
= resp.ProtocolVersion;
415
ctx.
CacheHttpVersion
= resp.ProtocolVersion;
1125
ctx.
CacheHttpVersion
= resp.ProtocolVersion;
1136
ctx.
CacheHttpVersion
= resp.ProtocolVersion;
1707
ctx.
CacheHttpVersion
= new Version(1,1);
1721
ctx.
CacheHttpVersion
= new Version(1,1);
net\System\Net\Cache\HttpRequestCacheValidator.cs (2)
493
CacheHttpVersion
= new Version(1, 0);
628
CacheHttpVersion
= new Version(major, minor);
14 references to CacheHttpVersion
System (14)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (8)
135
if (ctx.
CacheHttpVersion
.Major <= 1 && ctx.
CacheHttpVersion
.Minor < 1) {
260
if (ctx.
CacheHttpVersion
.Major <= 1 && resp.ProtocolVersion.Major <=1 &&
261
ctx.
CacheHttpVersion
.Minor < 1 && resp.ProtocolVersion.Minor <1 &&
1668
if (ctx.
CacheHttpVersion
.Major == 1 && ctx.
CacheHttpVersion
.Minor == 0)
1706
if (ctx.
CacheHttpVersion
== null) {
1720
if (ctx.
CacheHttpVersion
== null)
net\System\Net\Cache\HttpRequestCacheValidator.cs (4)
227
Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_http_status_line, (
CacheHttpVersion
!= null ?
CacheHttpVersion
.ToString() : "null"), (int)CacheStatusCode, CacheStatusDescription));
491
if (
CacheHttpVersion
== null) {
498
sb.Append(
CacheHttpVersion
.ToString(2));
net\System\Net\HttpWebRequest.cs (2)
4235
responseData.m_IsVersionHttp11 = ctx.
CacheHttpVersion
.Equals(HttpVersion.Version11);
4297
responseData.m_IsVersionHttp11 = ctx.
CacheHttpVersion
.Equals(HttpVersion.Version11);