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