[gnome-shell] extensionDownloader: Use plain Soup.Session



commit 3ad569f426bbedc2170f8cf90a47e8faf6473a9a
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Aug 4 00:28:25 2021 +0200

    extensionDownloader: Use plain Soup.Session
    
    Unlike for the old Soup.SessionSync/SessionAsync classes,
    Soup.Session:ssl-use-system-ca-file already defaults to true.
    
    In Soup3, the behavior was made unconditional and the property
    removed.
    
    Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1940>

 js/ui/extensionDownloader.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/extensionDownloader.js b/js/ui/extensionDownloader.js
index 08cea59318..13fcf35db6 100644
--- a/js/ui/extensionDownloader.js
+++ b/js/ui/extensionDownloader.js
@@ -252,5 +252,5 @@ class InstallExtensionDialog extends ModalDialog.ModalDialog {
 });
 
 function init() {
-    _httpSession = new Soup.Session({ ssl_use_system_ca_file: true });
+    _httpSession = new Soup.Session();
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]