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