[evolution-data-server] I#173 - ESoupSession: Accept also compressed responses



commit 394474e3da467123bd36131e90d8f7684bac0e00
Author: Milan Crha <mcrha redhat com>
Date:   Wed Nov 6 09:24:50 2019 +0100

    I#173 - ESoupSession: Accept also compressed responses
    
    Closes https://gitlab.gnome.org/GNOME/evolution-data-server/issues/173

 src/libedataserver/e-soup-session.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/libedataserver/e-soup-session.c b/src/libedataserver/e-soup-session.c
index 15030ce89..a06bfb15e 100644
--- a/src/libedataserver/e-soup-session.c
+++ b/src/libedataserver/e-soup-session.c
@@ -522,6 +522,8 @@ e_soup_session_init (ESoupSession *session)
                SOUP_SESSION_ACCEPT_LANGUAGE_AUTO, TRUE,
                NULL);
 
+       soup_session_add_feature_by_type (SOUP_SESSION (session), SOUP_TYPE_CONTENT_DECODER);
+
        g_signal_connect (session, "authenticate",
                G_CALLBACK (e_soup_session_authenticate_cb), NULL);
 }


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