29 references to AddInternal
System (29)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (11)
73ctx.Request.Headers.AddInternal(HttpKnownHeaderNames.CacheControl, "no-store"); 74ctx.Request.Headers.AddInternal(HttpKnownHeaderNames.CacheControl, "no-cache"); 75ctx.Request.Headers.AddInternal(HttpKnownHeaderNames.Pragma, "no-cache"); 83ctx.Request.Headers.AddInternal(HttpKnownHeaderNames.CacheControl, "no-cache"); 84ctx.Request.Headers.AddInternal(HttpKnownHeaderNames.Pragma, "no-cache"); 90ctx.Request.Headers.AddInternal(HttpKnownHeaderNames.CacheControl, "max-age=0"); 91ctx.Request.Headers.AddInternal(HttpKnownHeaderNames.Pragma, "no-cache"); 98ctx.Request.Headers.AddInternal(HttpKnownHeaderNames.CacheControl, "min-fresh=" + (int)ctx.Policy.MinFresh.TotalSeconds); 101ctx.Request.Headers.AddInternal(HttpKnownHeaderNames.CacheControl, "max-age=" + (int)ctx.Policy.MaxAge.TotalSeconds); 104ctx.Request.Headers.AddInternal(HttpKnownHeaderNames.CacheControl, "max-stale=" + (int)ctx.Policy.MaxStale.TotalSeconds); 110ctx.Request.Headers.AddInternal(HttpKnownHeaderNames.CacheControl, "only-if-cached");
net\System\Net\Cache\HttpRequestCacheValidator.cs (2)
693wc.AddInternal(lastHeaderName, s); 707wc.AddInternal(lastHeaderName, s.Substring(colpos));
net\System\Net\filewebresponse.cs (2)
58m_headers.AddInternal(HttpKnownHeaderNames.ContentLength, m_contentLength.ToString(NumberFormatInfo.InvariantInfo)); 59m_headers.AddInternal(HttpKnownHeaderNames.ContentType, DefaultFileContentType);
net\System\Net\HttpListener.cs (1)
2014response.Headers.AddInternal(HttpKnownHeaderNames.WWWAuthenticate, challenge);
net\System\Net\HttpWebRequest.cs (10)
3110_HttpRequestHeaders.AddInternal(HeaderName, value); 4998_HttpRequestHeaders.AddInternal(HttpKnownHeaderNames.TransferEncoding, ChunkedHeader); 5007_HttpRequestHeaders.AddInternal(HttpKnownHeaderNames.Expect, ContinueHeader); 5019_HttpRequestHeaders.AddInternal(HttpKnownHeaderNames.AcceptEncoding, GZipHeader + ", " + DeflateHeader); 5022_HttpRequestHeaders.AddInternal(HttpKnownHeaderNames.AcceptEncoding, GZipHeader); 5027_HttpRequestHeaders.AddInternal(HttpKnownHeaderNames.AcceptEncoding, DeflateHeader); 5044_HttpRequestHeaders.AddInternal(HttpKnownHeaderNames.ProxyConnection, _HttpRequestHeaders[HttpKnownHeaderNames.Connection]); 5058_HttpRequestHeaders.AddInternal(HttpKnownHeaderNames.Connection, HttpKnownHeaderNames.Upgrade); 5065_HttpRequestHeaders.AddInternal(( (UsesProxySemantics || IsTunnelRequest)? HttpKnownHeaderNames.ProxyConnection : HttpKnownHeaderNames.Connection), "Keep-Alive"); 5069_HttpRequestHeaders.AddInternal(connectionString, "Close");
net\System\Net\UnsafeNativeMethods.cs (2)
3006headerCollection.AddInternal(headerName, headerValue); 3021headerCollection.AddInternal(HTTP_REQUEST_HEADER_ID.ToString(index), headerValue);
net\System\Net\WebHeaderCollection.cs (1)
1495AddInternal(headerName, headerMultiLineValue);