13 writes to IsContentHeader
System.ServiceModel (13)
System\ServiceModel\Channels\HttpHeaderInfo.cs (13)
21
new HttpHeaderInfo("Allow") {
IsContentHeader
= true },
22
new HttpHeaderInfo("Content-Encoding") {
IsContentHeader
= true },
23
new HttpHeaderInfo("Content-Language") {
IsContentHeader
= true },
24
new HttpHeaderInfo("Content-Length") {
IsContentHeader
= true },
25
new HttpHeaderInfo("Content-Location") {
IsContentHeader
= true },
26
new HttpHeaderInfo("Content-MD5") {
IsContentHeader
= true },
27
new HttpHeaderInfo("Content-Range") {
IsContentHeader
= true },
28
new HttpHeaderInfo("Content-Type") {
IsContentHeader
= true },
29
new HttpHeaderInfo("Expires") {
IsContentHeader
= true },
30
new HttpHeaderInfo("Last-Modified") {
IsContentHeader
= true },
31
new HttpHeaderInfo("Content-Disposition") {
IsContentHeader
= true }
63
this.
IsContentHeader
= true;
193
this.
IsContentHeader
= false;
15 references to IsContentHeader
System.ServiceModel (15)
System\ServiceModel\Channels\HttpHeaderInfo.cs (1)
140
if (headerInfo.
IsContentHeader
)
System\ServiceModel\Channels\HttpRequestMessageExtensionMethods.cs (7)
185
if (!headerInfo.IsRequestHeader && !headerInfo.
IsContentHeader
&& headerInfo.IsResponseHeader)
197
Fx.Assert(headerInfo.IsRequestHeader || headerInfo.
IsContentHeader
, "The 'headerInfo' parameter should be either a request or content header.");
207
headerInfo.
IsContentHeader
&&
220
Fx.Assert(headerInfo.IsRequestHeader || headerInfo.
IsContentHeader
, "The 'headerInfo' parameter should be either a request or content header.");
227
if (headerInfo.
IsContentHeader
&& httpRequestMessage.Content != null)
237
Fx.Assert(headerInfo.IsRequestHeader || headerInfo.
IsContentHeader
, "The 'headerInfo' parameter should be either a request or content header.");
247
if (headerInfo.
IsContentHeader
)
System\ServiceModel\Channels\HttpResponseMessageExtensionMethods.cs (7)
94
if (!headerInfo.IsResponseHeader && !headerInfo.
IsContentHeader
&& headerInfo.IsResponseHeader)
106
Fx.Assert(headerInfo.IsResponseHeader || headerInfo.
IsContentHeader
, "The 'headerInfo' parameter should be either a response or content header.");
116
headerInfo.
IsContentHeader
&&
129
Fx.Assert(headerInfo.IsResponseHeader || headerInfo.
IsContentHeader
, "The 'headerInfo' parameter should be either a response or content header.");
136
if (headerInfo.
IsContentHeader
&& httpResponseMessage.Content != null)
146
Fx.Assert(headerInfo.IsResponseHeader || headerInfo.
IsContentHeader
, "The 'headerInfo' parameter should be either a response or content header.");
156
if (headerInfo.
IsContentHeader
)