11 references to ContentLength
System (11)
net\System\Net\_HeaderInfoTable.cs (1)
107
new HeaderInfo(HttpKnownHeaderNames.
ContentLength
, true, true, false, SingleParser),
net\System\Net\Cache\_Rfc2616CacheValidators.cs (6)
1140
{ctx.CacheHeaders.Remove(HttpKnownHeaderNames.
ContentLength
);}
1142
{ctx.CacheHeaders[HttpKnownHeaderNames.
ContentLength
] = ctx.CacheStreamLength.ToString(NumberFormatInfo.InvariantInfo);}
1711
ctx.CacheHeaders[HttpKnownHeaderNames.
ContentLength
] = ctx.CacheStreamLength.ToString(NumberFormatInfo.InvariantInfo);
1726
{ctx.CacheHeaders.Remove(HttpKnownHeaderNames.
ContentLength
);}
1728
{ctx.CacheHeaders[HttpKnownHeaderNames.
ContentLength
] = ctx.CacheEntityLength.ToString(NumberFormatInfo.InvariantInfo);}
1831
if (resp.StatusCode == HttpStatusCode.NotModified && AsciiLettersNoCaseEqual(key, HttpKnownHeaderNames.
ContentLength
)) {
net\System\Net\filewebresponse.cs (1)
58
m_headers.AddInternal(HttpKnownHeaderNames.
ContentLength
, m_contentLength.ToString(NumberFormatInfo.InvariantInfo));
net\System\Net\HttpWebRequest.cs (2)
5003
_HttpRequestHeaders.ChangeInternal(HttpKnownHeaderNames.
ContentLength
, _ContentLength.ToString(NumberFormatInfo.InvariantInfo));
5982
_HttpRequestHeaders.RemoveInternal(HttpKnownHeaderNames.
ContentLength
);
net\System\Net\WebHeaderCollection.cs (1)
66
HttpKnownHeaderNames.
ContentLength
, // "Content-Length" 14