5 overrides of Headers
PresentationCore (2)
Core\CSharp\MS\Internal\IO\Packaging\PseudoWebRequest.cs (1)
193
public override WebHeaderCollection
Headers
Core\CSharp\System\IO\Packaging\PackWebRequest.cs (1)
328
public override WebHeaderCollection
Headers
System (3)
net\System\Net\filewebrequest.cs (1)
156
public override WebHeaderCollection
Headers
{
net\System\Net\FtpWebRequest.cs (1)
1824
public override WebHeaderCollection
Headers
{
net\System\Net\HttpWebRequest.cs (1)
2653
public override WebHeaderCollection
Headers
{
2 writes to Headers
PresentationCore (1)
Core\CSharp\System\IO\Packaging\PackWebRequest.cs (1)
336
GetRequest().
Headers
= value;
System (1)
net\System\Net\webclient.cs (1)
935
request.
Headers
= m_headers;
45 references to Headers
PresentationCore (1)
Core\CSharp\System\IO\Packaging\PackWebRequest.cs (1)
332
return GetRequest().
Headers
;
System (39)
net\System\Net\Cache\_Rfc2616CacheValidators.cs (39)
62
ctx.Request.
Headers
.RemoveInternal(HttpKnownHeaderNames.Pragma);
68
ctx.Request.
Headers
.RemoveInternal(HttpKnownHeaderNames.CacheControl);
73
ctx.Request.
Headers
.AddInternal(HttpKnownHeaderNames.CacheControl, "no-store");
74
ctx.Request.
Headers
.AddInternal(HttpKnownHeaderNames.CacheControl, "no-cache");
75
ctx.Request.
Headers
.AddInternal(HttpKnownHeaderNames.Pragma, "no-cache");
83
ctx.Request.
Headers
.AddInternal(HttpKnownHeaderNames.CacheControl, "no-cache");
84
ctx.Request.
Headers
.AddInternal(HttpKnownHeaderNames.Pragma, "no-cache");
90
ctx.Request.
Headers
.AddInternal(HttpKnownHeaderNames.CacheControl, "max-age=0");
91
ctx.Request.
Headers
.AddInternal(HttpKnownHeaderNames.Pragma, "no-cache");
98
ctx.Request.
Headers
.AddInternal(HttpKnownHeaderNames.CacheControl, "min-fresh=" + (int)ctx.Policy.MinFresh.TotalSeconds);
101
ctx.Request.
Headers
.AddInternal(HttpKnownHeaderNames.CacheControl, "max-age=" + (int)ctx.Policy.MaxAge.TotalSeconds);
104
ctx.Request.
Headers
.AddInternal(HttpKnownHeaderNames.CacheControl, "max-stale=" + (int)ctx.Policy.MaxStale.TotalSeconds);
110
ctx.Request.
Headers
.AddInternal(HttpKnownHeaderNames.CacheControl, "only-if-cached");
236
if(Logging.On)Logging.PrintError(Logging.RequestCache, SR.GetString(SR.net_log_cache_server_didnt_satisfy_range, ctx.Request.
Headers
[HttpKnownHeaderNames.Range]));
286
ctx.Request.
Headers
.RemoveInternal(ctx.RequestIfHeader1);
290
ctx.Request.
Headers
.RemoveInternal(ctx.RequestIfHeader2);
294
ctx.Request.
Headers
.RemoveInternal(HttpKnownHeaderNames.Range);
474
if (ctx.Request.
Headers
[HttpKnownHeaderNames.IfModifiedSince] != null ||
475
ctx.Request.
Headers
[HttpKnownHeaderNames.IfNoneMatch] != null ||
476
ctx.Request.
Headers
[HttpKnownHeaderNames.IfRange] != null ||
477
ctx.Request.
Headers
[HttpKnownHeaderNames.IfMatch] != null ||
478
ctx.Request.
Headers
[HttpKnownHeaderNames.IfUnmodifiedSince] != null )
816
if (!ctx.CacheEntry.IsPrivateEntry && ctx.Request.
Headers
[HttpKnownHeaderNames.Authorization] != null) {
1018
if (ctx.Request.
Headers
[HttpKnownHeaderNames.Authorization] != null) {
1371
string[] requestValues = ctx.Request.
Headers
.GetValues((string)varyValues[i]);
1430
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_range, ctx.Request.
Headers
[HttpKnownHeaderNames.Range]));
1519
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_range, ctx.Request.
Headers
[HttpKnownHeaderNames.Range]));
1535
if ((ranges = ctx.Request.
Headers
[HttpKnownHeaderNames.Range]) != null) {
1539
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_range_request_range, ctx.Request.
Headers
[HttpKnownHeaderNames.Range]));
1596
ctx.Request.
Headers
[HttpKnownHeaderNames.IfNoneMatch] = str;
1600
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_condition_if_none_match, ctx.Request.
Headers
[HttpKnownHeaderNames.IfNoneMatch]));
1606
ctx.Request.
Headers
.ChangeInternal(HttpKnownHeaderNames.IfModifiedSince, str);
1615
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_condition_if_modified_since, ctx.Request.
Headers
[HttpKnownHeaderNames.IfModifiedSince]));
1651
ctx.Request.
Headers
[HttpKnownHeaderNames.IfRange] = str;
1654
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_condition_if_range, ctx.Request.
Headers
[HttpKnownHeaderNames.IfRange]));
1686
ctx.Request.
Headers
[HttpKnownHeaderNames.IfRange] = str;
1689
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_condition_if_range, ctx.Request.
Headers
[HttpKnownHeaderNames.IfRange]));
1736
WebHeaderCollection cc = ctx.Request.
Headers
;
1791
string headerValue = ctx.Request.
Headers
[(string)varyValues[i]];
System.Data.Services.Client (1)
System\Data\Services\Client\SendingRequestEventArgs.cs (1)
67
this.requestHeaders = value.
Headers
;
System.Web.Services (4)
System\Web\Services\Protocols\RemoteDebugger.cs (1)
206
request.
Headers
.Add(debuggerHeader, bufferString);
System\Web\Services\Protocols\SoapClientProtocol.cs (3)
531
request.
Headers
[ContentType.ContentEncoding] = message.ContentEncoding;
534
if (this.version != SoapProtocolVersion.Soap12 && request.
Headers
[Soap.Action] == null) {
539
request.
Headers
.Add(Soap.Action, actionStringBuilder.ToString());