We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7c2f02 commit a6f8028Copy full SHA for a6f8028
1 file changed
dotnet/src/webdriver/Remote/HttpCommandExecutor.cs
@@ -282,7 +282,7 @@ private async Task<HttpResponseInfo> MakeHttpRequest(HttpRequestInfo requestInfo
282
{
283
HttpResponseInfo httpResponseInfo = new HttpResponseInfo();
284
httpResponseInfo.Body = await responseMessage.Content.ReadAsStringAsync();
285
- httpResponseInfo.ContentType = responseMessage.Content.Headers.ContentType.ToString();
+ httpResponseInfo.ContentType = responseMessage.Content.Headers.ContentType?.ToString();
286
httpResponseInfo.StatusCode = responseMessage.StatusCode;
287
288
return httpResponseInfo;
0 commit comments