A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/seleniumhq/selenium/commit/a6f8028b5cc6ceaf535c00bcee8c364e1b90d71b below:

[dotnet] Handle the case when http response content type might be nul… · SeleniumHQ/selenium@a6f8028 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed Original file line number Diff line number Diff line change

@@ -282,7 +282,7 @@ private async Task<HttpResponseInfo> MakeHttpRequest(HttpRequestInfo requestInfo

282 282

{

283 283

HttpResponseInfo httpResponseInfo = new HttpResponseInfo();

284 284

httpResponseInfo.Body = await responseMessage.Content.ReadAsStringAsync();

285 -

httpResponseInfo.ContentType = responseMessage.Content.Headers.ContentType.ToString();

285 +

httpResponseInfo.ContentType = responseMessage.Content.Headers.ContentType?.ToString();

286 286

httpResponseInfo.StatusCode = responseMessage.StatusCode;

287 287 288 288

return httpResponseInfo;

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4