Base:
property
Headers
System.Net.WebResponse.Headers
24 references to Headers
dotnet-svcutil-lib (1)
Metadata\HttpAuthenticationHelper.cs (1)
75string challenge = httpResponse.Headers[HttpResponseHeader.WwwAuthenticate];
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (15)
ResponseHeaderTests.cs (15)
57Assert.Equal(4, response.Headers.Count); 58Assert.Null(response.Headers["Transfer-Encoding"]); 60Assert.NotNull(response.Headers["Date"]); 61Assert.Equal("Microsoft-HTTPAPI/2.0", response.Headers["Server"]); 62Assert.Equal("custom1", response.Headers["WWW-Authenticate"]); 82Assert.Equal(4, response.Headers.Count); 83Assert.Null(response.Headers["Transfer-Encoding"]); 85Assert.NotNull(response.Headers["Date"]); 86Assert.Equal("Microsoft-HTTPAPI/2.0", response.Headers["Server"]); 87Assert.Equal("custom1, and custom2, custom3", response.Headers["WWW-Authenticate"]); 107Assert.Equal(4, response.Headers.Count); 108Assert.Null(response.Headers["Transfer-Encoding"]); 110Assert.NotNull(response.Headers["Date"]); 111Assert.Equal("Microsoft-HTTPAPI/2.0", response.Headers["Server"]); 112Assert.Equal("custom1, and custom2, custom3", response.Headers["Custom-Header1"]);
Microsoft.ML.Core (1)
Utilities\ResourceManagerUtils.cs (1)
325if (webResponse.StatusCode == HttpStatusCode.Redirect && webResponse.Headers["Location"] == "https://www.microsoft.com/?ref=aka")
PresentationCore (3)
MS\Internal\AppModel\CookieHandler.cs (2)
75WebHeaderCollection headers = httpResponse.Headers; 87string p3pHeader = httpResponse.Headers["P3P"];
MS\Internal\IO\Packaging\ByteRangeDownloader.cs (1)
534if (CheckContentRange(webResponse.Headers, beginOffset, ref endOffset))
System.Net.Requests (4)
System\Net\HttpWebResponse.cs (4)
146string? lastmodHeaderValue = Headers["Last-Modified"]; 173string? server = Headers["Server"]; 267string? contentType = Headers["Content-Type"]; 358string? headerValue = Headers[headerName];