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