10 writes to
System.Data.Services.Client (1)
System\Data\Services\Client\DataServiceContext.cs (1)
2038
request.Headers
[
HttpRequestHeader.AcceptCharset] = XmlConstants.Utf8Encoding;
System.ServiceModel.Web (9)
System\ServiceModel\Dispatcher\ContentTypeSettingClientMessageFormatter.cs (1)
87
httpProperty.Headers
[
HttpRequestHeader.ContentType] = contentType;
System\ServiceModel\Web\OutgoingWebRequestContext.cs (8)
26
set { this.MessageProperty.Headers
[
HttpRequestHeader.Accept] = value; }
32
set { this.MessageProperty.Headers
[
HttpRequestHeader.ContentLength] = value.ToString(CultureInfo.InvariantCulture); }
38
set { this.MessageProperty.Headers
[
HttpRequestHeader.ContentType] = value; }
49
set { this.MessageProperty.Headers
[
HttpRequestHeader.IfMatch] = value; }
55
set { this.MessageProperty.Headers
[
HttpRequestHeader.IfModifiedSince] = value; }
61
set { this.MessageProperty.Headers
[
HttpRequestHeader.IfNoneMatch] = value; }
67
set { this.MessageProperty.Headers
[
HttpRequestHeader.IfUnmodifiedSince] = value; }
85
set { this.MessageProperty.Headers
[
HttpRequestHeader.UserAgent] = value; }
41 references to
System.Data.Services (9)
System\Data\Services\BatchServiceHost.cs (5)
140
get { return this.requestHeaders
[
HttpRequestHeader.Accept]; }
149
get { return this.requestHeaders
[
HttpRequestHeader.AcceptCharset]; }
155
get { return this.requestHeaders
[
HttpRequestHeader.ContentType]; }
170
get { return this.requestHeaders
[
HttpRequestHeader.IfMatch]; }
176
get { return this.requestHeaders
[
HttpRequestHeader.IfNoneMatch]; }
System\Data\Services\HttpContextServiceHost.cs (4)
83
return this.operationContext.IncomingRequest.Headers
[
HttpRequestHeader.AcceptCharset];
161
return this.operationContext.IncomingRequest.Headers
[
HttpRequestHeader.IfMatch];
170
return this.operationContext.IncomingRequest.Headers
[
HttpRequestHeader.IfNoneMatch];
375
get { return this.operationContext.IncomingRequest.Headers
[
HttpRequestHeader.Host]; }
System.ServiceModel (4)
System\ServiceModel\Channels\HttpRequestContext.cs (1)
890
if (listenerRequest.UserAgent != null && headers
[
HttpRequestHeader.UserAgent] == null)
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\UriTemplateMatch.cs (1)
39
this.baseUri = UriTemplate.RewriteUri(this.originalBaseUri, this.requestProp.Headers
[
HttpRequestHeader.Host]);
System.ServiceModel.Web (28)
System\ServiceModel\Description\WebScriptClientGenerator.cs (1)
80
string proxyContent = this.GetProxyContent(UriTemplate.RewriteUri(this.endpoint.Address.Uri, requestMessageProperty.Headers
[
HttpRequestHeader.Host]));
System\ServiceModel\Dispatcher\ContentTypeSettingClientMessageFormatter.cs (1)
85
if (string.IsNullOrEmpty(httpProperty.Headers
[
HttpRequestHeader.ContentType]))
System\ServiceModel\Dispatcher\HelpPage.cs (3)
51
Uri baseUri = UriTemplate.RewriteUri(OperationContext.Current.Channel.LocalAddress.Uri, WebOperationContext.Current.IncomingRequest.Headers
[
HttpRequestHeader.Host]);
66
Uri requestUri = UriTemplate.RewriteUri(WebOperationContext.Current.IncomingRequest.UriTemplateMatch.RequestUri, WebOperationContext.Current.IncomingRequest.Headers
[
HttpRequestHeader.Host]);
73
Uri baseUri = UriTemplate.RewriteUri(OperationContext.Current.Channel.LocalAddress.Uri, WebOperationContext.Current.IncomingRequest.Headers
[
HttpRequestHeader.Host]);
System\ServiceModel\Dispatcher\HttpUnhandledOperationInvoker.cs (1)
76
Uri helpUri = this.HelpUri != null ? UriTemplate.RewriteUri(this.HelpUri, WebOperationContext.Current.IncomingRequest.Headers
[
HttpRequestHeader.Host]) : null;
System\ServiceModel\Dispatcher\WebErrorHandler.cs (1)
138
helpUri = this.webHttpBehavior.HelpUri != null ? UriTemplate.RewriteUri(this.webHttpBehavior.HelpUri, WebOperationContext.Current.IncomingRequest.Headers
[
HttpRequestHeader.Host]) : null;
System\ServiceModel\Dispatcher\WebHttpDispatchOperationSelector.cs (1)
364
hostName = requestProperty.Headers
[
HttpRequestHeader.Host];
System\ServiceModel\Web\IncomingWebRequestContext.cs (11)
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];
136
get { return this.EnsureMessageProperty().Headers
[
HttpRequestHeader.UserAgent]; }
284
string entityTagHeader = this.Headers
[
HttpRequestHeader.IfNoneMatch];
315
headerOfInterest = this.Headers
[
HttpRequestHeader.IfNoneMatch];
325
headerOfInterest = this.Headers
[
HttpRequestHeader.IfMatch];
System\ServiceModel\Web\OutgoingWebRequestContext.cs (8)
25
get { return this.MessageProperty.Headers
[
HttpRequestHeader.Accept]; }
31
get { return long.Parse(this.MessageProperty.Headers
[
HttpRequestHeader.ContentLength], CultureInfo.InvariantCulture); }
37
get { return this.MessageProperty.Headers
[
HttpRequestHeader.ContentType]; }
48
get { return this.MessageProperty.Headers
[
HttpRequestHeader.IfMatch]; }
54
get { return this.MessageProperty.Headers
[
HttpRequestHeader.IfModifiedSince]; }
60
get { return this.MessageProperty.Headers
[
HttpRequestHeader.IfNoneMatch]; }
66
get { return this.MessageProperty.Headers
[
HttpRequestHeader.IfUnmodifiedSince]; }
84
get { return this.MessageProperty.Headers
[
HttpRequestHeader.UserAgent]; }
System\ServiceModel\Web\OutgoingWebResponseContext.cs (1)
59
string dateTime = this.MessageProperty.Headers
[
HttpRequestHeader.LastModified];