Base:
property
Headers
System.Net.WebResponse.Headers
47 references to Headers
PresentationCore (3)
Core\CSharp\MS\Internal\AppModel\CookieHandler.cs (2)
83
WebHeaderCollection headers = httpResponse.
Headers
;
95
string p3pHeader = httpResponse.
Headers
["P3P"];
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (1)
624
if (CheckContentRange(webResponse.
Headers
, beginOffset, ref endOffset))
System (20)
net\System\Net\_CookieModule.cs (2)
76
string cookieString = response.
Headers
.SetCookie;
90
string cookieString = response.
Headers
.SetCookie2;
net\System\Net\Cache\_Rfc2616CacheValidators.cs (8)
827
if (ctx.RequestMethod == HttpMethod.Post && resp.
Headers
.Expires == null) {
1067
if (resp.
Headers
[HttpKnownHeaderNames.ContentMD5] != ctx.CacheHeaders[HttpKnownHeaderNames.ContentMD5]) {
1071
if (resp.
Headers
.ETag != ctx.CacheHeaders.ETag) {
1075
if (resp.StatusCode != HttpStatusCode.NotModified && resp.
Headers
.LastModified != ctx.CacheHeaders.LastModified)
1176
WebHeaderCollection cc = resp.
Headers
;
1242
if (resp.
Headers
.Count <= ignoredHeaders) {
1778
string[] respVary = resp.
Headers
.GetValues(HttpKnownHeaderNames.Vary);
1786
if(Logging.On)Logging.PrintInfo(Logging.RequestCache, SR.GetString(SR.net_log_cache_saving_request_headers, resp.
Headers
[HttpKnownHeaderNames.Vary]));
net\System\Net\Cache\HttpRequestCacheValidator.cs (1)
424
?", Content-Range: " + resp.
Headers
[HttpKnownHeaderNames.ContentRange]
net\System\Net\FtpWebResponse.cs (1)
143
return m_HttpWebResponse.
Headers
;
net\System\Net\HttpWebRequest.cs (2)
689
return _HttpResponse.
Headers
[header];
5734
string location = _HttpResponse.
Headers
.Location;
net\System\Net\HttpWebResponse.cs (2)
353
string proxyConnectionHeader =
Headers
[HttpKnownHeaderNames.ProxyConnection];
361
string connectionHeader =
Headers
[HttpKnownHeaderNames.Connection];
net\System\Net\WebSockets\ClientWebSocket.cs (4)
270
string upgradeHeader = response.
Headers
[HttpKnownHeaderNames.Upgrade];
279
string connectionHeader = response.
Headers
[HttpKnownHeaderNames.Connection];
288
string websocketAcceptHeader = response.
Headers
[HttpKnownHeaderNames.SecWebSocketAccept];
299
string subProtocol = response.
Headers
[HttpKnownHeaderNames.SecWebSocketProtocol];
System.Data.Services.Client (10)
System\Data\Services\Client\DataServiceContext.cs (5)
4940
string location = response.
Headers
[XmlConstants.HttpResponseLocation];
4983
entityDescriptor.ETag = response.
Headers
[XmlConstants.HttpResponseETag];
4991
foreach (string name in response.
Headers
.AllKeys)
4995
this.buildBatchWriter.WriteLine("{0}: {1}", name, response.
Headers
[name]);
5289
this.batchResponse.
Headers
[XmlConstants.HttpDataServiceVersion], // responseVersion
System\Data\Services\Client\DataServiceStreamResponse.cs (2)
54
return this.response.
Headers
[XmlConstants.HttpContentType];
68
return this.response.
Headers
[XmlConstants.HttpContentDisposition];
System\Data\Services\Client\QueryResult.cs (1)
385
Exception ex = DataServiceContext.HandleResponse(this.StatusCode, this.httpWebResponse.
Headers
[XmlConstants.HttpDataServiceVersion], this.GetResponseStream, false);
System\Data\Services\Client\WebUtil.cs (2)
117
foreach (string name in response.
Headers
.AllKeys)
119
headers.Add(name, response.
Headers
[name]);
System.Runtime.Remoting (2)
channels\http\httpclientchannel.cs (2)
775
foreach (Object key in response.
Headers
)
778
responseHeaders[keyString] = response.
Headers
[keyString];
System.ServiceModel (9)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (6)
184
string actualValue = response.
Headers
[headerKey];
210
string serverContentType = webResponse.
Headers
[WebSocketTransportSettings.SoapContentTypeHeader];
213
string serverTransferMode = webResponse.
Headers
[WebSocketTransportSettings.BinaryEncoderTransferModeHeader];
226
string serverVersion = webResponse.
Headers
[WebSocketHelper.SecWebSocketVersion];
232
string serverSubProtocol = webResponse.
Headers
[WebSocketHelper.SecWebSocketProtocol];
451
string headerValue = response.
Headers
[WebSocketHelper.SecWebSocketProtocol];
System\ServiceModel\Channels\HttpChannelHelpers.cs (3)
880
return httpWebResponse.
Headers
["SOAPAction"];
886
HttpResponseMessageProperty responseProperty = new HttpResponseMessageProperty(httpWebResponse.
Headers
);
3783
response.
Headers
[HttpResponseHeader.WwwAuthenticate]);
System.Web.Extensions (3)
ClientServices\Providers\ProxyHelper.cs (3)
106
int numHeaders = response.
Headers
.Count;
108
string header = response.
Headers
.GetKey(iter);
110
string cookieValue = response.
Headers
.Get(iter);