Skip to content

Commit

Permalink
Merge branch 'feature/PB-33917_On-some-version-of-presumably-Net-the-…
Browse files Browse the repository at this point in the history
…HTTP-requests-are-made-but-the-response-is-not-sent-to-the-background-page' into 'release'

PB-33917 - On some version of (presumably) .Net, the HTTP requests are made...

See merge request passbolt/desktop/passbolt-windows!144
  • Loading branch information
scadra committed Jul 2, 2024
2 parents 6e203c7 + b8e530f commit f38013f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion passbolt/Services/HttpService/HttpService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public void SendResponseToWebview(CoreWebView2 sender, CoreWebView2WebResourceRe
CoreWebView2WebResourceResponse webView2WebResourceResponse = sender.Environment.CreateWebResourceResponse(
content,
(int)response.StatusCode,
response.ReasonPhrase != null ? response.ReasonPhrase : response.StatusCode.ToString(),
!string.IsNullOrEmpty(response.ReasonPhrase) ? response.ReasonPhrase : response.StatusCode.ToString(),
string.Join('\n', headers));

resource.Response = webView2WebResourceResponse;
Expand Down

0 comments on commit f38013f

Please sign in to comment.