1 instantiation of HttpWebResponse
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1256
HttpWebResponse response =
new
(responseMessage, _requestUri, _cookieContainer);
33 references to HttpWebResponse
dotnet-svcutil-lib (12)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (4)
744
HttpWebResponse
response;
765
response = task.Result as
HttpWebResponse
;
769
internal static XmlReader GetXmlReader(
HttpWebResponse
response, long maxMessageSize, XmlDictionaryReaderQuotas readerQuotas)
900
MetadataLocationRetriever.GetXmlReader((
HttpWebResponse
)request.EndGetResponse(result), _maxMessageSize, _readerQuotas))
Metadata\HttpAuthenticationHelper.cs (5)
33
public static
HttpWebResponse
GetUnauthorizedResponse(WebException webException)
37
if (webException.Response is
HttpWebResponse
response && // user auth required.
50
public static
HttpWebResponse
GetForbiddenResponse(WebException webException)
56
if (webException.Response is
HttpWebResponse
response && response.StatusCode == HttpStatusCode.Forbidden)
69
public static void GetAuthenticationInformation(
HttpWebResponse
httpResponse, out string[] authenticationSchemes, out string realm)
Metadata\MetadaExchangeResolver.cs (3)
244
HttpWebResponse
webResponse = null;
265
webResponse = (
HttpWebResponse
)_currentRequest.EndGetResponse(result);
413
public static MemoryStream ResponseToMemoryStream(
HttpWebResponse
webResponse)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (6)
ResponseHeaderTests.cs (6)
56
HttpWebResponse
response = (
HttpWebResponse
)await request.GetResponseAsync();
81
HttpWebResponse
response = (
HttpWebResponse
)await request.GetResponseAsync();
106
HttpWebResponse
response = (
HttpWebResponse
)await request.GetResponseAsync();
Microsoft.ML.Core (4)
Utilities\ResourceManagerUtils.cs (4)
319
HttpWebResponse
httpWebResponse = (
HttpWebResponse
)httpWebRequest.GetResponse();
323
HttpWebResponse
webResponse = (
HttpWebResponse
)e.Response;
netstandard (1)
netstandard.cs (1)
1153
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.
HttpWebResponse
))]
PresentationCore (7)
MS\Internal\AppModel\CookieHandler.cs (2)
69
HttpWebResponse
httpResponse = response as
HttpWebResponse
;
MS\Internal\IO\Packaging\ByteRangeDownloader.cs (3)
496
HttpWebResponse
webResponse = null;
510
webResponse = (
HttpWebResponse
)WpfWebRequestHelper.EndGetResponse(_webRequest, ar);
627
private bool WriteByteRange(
HttpWebResponse
response, int offset, int length)
MS\Internal\WpfWebRequestHelper.cs (2)
197
if (response is
HttpWebResponse
&& !(request is HttpWebRequest))
214
if (response is
HttpWebResponse
&& !(request is HttpWebRequest))
System (1)
src\libraries\shims\System\ref\System.cs (1)
638
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.
HttpWebResponse
))]
System.Net (1)
System.Net.cs (1)
17
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.
HttpWebResponse
))]
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1256
HttpWebResponse
response = new(responseMessage, _requestUri, _cookieContainer);