45 references to Headers
System.ServiceModel (13)
System\ServiceModel\Channels\ClientContextProtocol.cs (1)
377
property.
Headers
.Add(HttpRequestHeader.Cookie, cookieHeader);
System\ServiceModel\Channels\HttpChannelHelpers.cs (2)
1457
httpProperties.
Headers
.Add(EventTraceActivity.Name, Convert.ToBase64String(eventTraceActivity.ActivityId.ToByteArray()));
2534
WebHeaderCollection requestHeaders = requestProperty.
Headers
;
System\ServiceModel\Channels\HttpRequestContext.cs (1)
213
string e2eId = httpProperty.
Headers
[EventTraceActivity.Name];
System\ServiceModel\Channels\HttpRequestMessageProperty.cs (1)
360
copiedProperty.
Headers
.Add(this.Headers);
System\ServiceModel\Channels\ServiceContextProtocol.cs (1)
94
string cookieHeader = httpRequest.
Headers
[HttpRequestHeader.Cookie];
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
211
string hostHeader = httpRequest.
Headers
[HttpRequestHeader.Host];
System\ServiceModel\Diagnostics\MessageLogTraceRecord.cs (1)
336
WebHeaderCollection responseHeaders = requestProperty.
Headers
;
System\ServiceModel\Security\SecuritySessionClientSettings.cs (2)
779
if (rmp != null && rmp.
Headers
!= null)
781
rmp.
Headers
.Add(this.webHeaderCollection);
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (2)
693
if (rmp != null && rmp.
Headers
!= null)
695
rmp.
Headers
.Add(this.webHeaderCollection);
System\UriTemplateMatch.cs (1)
39
this.baseUri = UriTemplate.RewriteUri(this.originalBaseUri, this.requestProp.
Headers
[HttpRequestHeader.Host]);
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\MessageExtensionMethods.cs (1)
151
WebHeaderCollection headers = requestMessageProperty.
Headers
;
System.ServiceModel.Web (31)
System\ServiceModel\Description\WebScriptClientGenerator.cs (2)
72
if ((requestMessageProperty != null) && IsServiceUnchanged(requestMessageProperty.
Headers
[JsonGlobals.IfModifiedSinceString]))
80
string proxyContent = this.GetProxyContent(UriTemplate.RewriteUri(this.endpoint.Address.Uri, requestMessageProperty.
Headers
[HttpRequestHeader.Host]));
System\ServiceModel\Dispatcher\ContentTypeSettingClientMessageFormatter.cs (2)
85
if (string.IsNullOrEmpty(httpProperty.
Headers
[HttpRequestHeader.ContentType]))
87
httpProperty.
Headers
[HttpRequestHeader.ContentType] = contentType;
System\ServiceModel\Dispatcher\WebHttpDispatchOperationSelector.cs (1)
364
hostName = requestProperty.
Headers
[HttpRequestHeader.Host];
System\ServiceModel\Web\IncomingWebRequestContext.cs (9)
40
get { return EnsureMessageProperty().
Headers
[HttpRequestHeader.Accept]; }
45
get { return long.Parse(this.EnsureMessageProperty().
Headers
[HttpRequestHeader.ContentLength], CultureInfo.InvariantCulture); }
50
get { return this.EnsureMessageProperty().
Headers
[HttpRequestHeader.ContentType]; }
57
string ifMatchHeader = MessageProperty.
Headers
[HttpRequestHeader.IfMatch];
66
string ifNoneMatchHeader = MessageProperty.
Headers
[HttpRequestHeader.IfNoneMatch];
75
string dateTime = this.MessageProperty.
Headers
[HttpRequestHeader.IfModifiedSince];
92
string dateTime = this.MessageProperty.
Headers
[HttpRequestHeader.IfUnmodifiedSince];
107
get { return this.EnsureMessageProperty().
Headers
; }
136
get { return this.EnsureMessageProperty().
Headers
[HttpRequestHeader.UserAgent]; }
System\ServiceModel\Web\OutgoingWebRequestContext.cs (17)
25
get { return this.MessageProperty.
Headers
[HttpRequestHeader.Accept]; }
26
set { this.MessageProperty.
Headers
[HttpRequestHeader.Accept] = value; }
31
get { return long.Parse(this.MessageProperty.
Headers
[HttpRequestHeader.ContentLength], CultureInfo.InvariantCulture); }
32
set { this.MessageProperty.
Headers
[HttpRequestHeader.ContentLength] = value.ToString(CultureInfo.InvariantCulture); }
37
get { return this.MessageProperty.
Headers
[HttpRequestHeader.ContentType]; }
38
set { this.MessageProperty.
Headers
[HttpRequestHeader.ContentType] = value; }
43
get { return this.MessageProperty.
Headers
; }
48
get { return this.MessageProperty.
Headers
[HttpRequestHeader.IfMatch]; }
49
set { this.MessageProperty.
Headers
[HttpRequestHeader.IfMatch] = value; }
54
get { return this.MessageProperty.
Headers
[HttpRequestHeader.IfModifiedSince]; }
55
set { this.MessageProperty.
Headers
[HttpRequestHeader.IfModifiedSince] = value; }
60
get { return this.MessageProperty.
Headers
[HttpRequestHeader.IfNoneMatch]; }
61
set { this.MessageProperty.
Headers
[HttpRequestHeader.IfNoneMatch] = value; }
66
get { return this.MessageProperty.
Headers
[HttpRequestHeader.IfUnmodifiedSince]; }
67
set { this.MessageProperty.
Headers
[HttpRequestHeader.IfUnmodifiedSince] = value; }
84
get { return this.MessageProperty.
Headers
[HttpRequestHeader.UserAgent]; }
85
set { this.MessageProperty.
Headers
[HttpRequestHeader.UserAgent] = value; }