[evolution-data-server/gnome-3-34] I#173 - ESoupSession: Accept also compressed responses



commit 5cd34b90afddaee947b69e9cb03c7aeaa91641b6
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 a567a9283..474936848 100644
--- a/src/libedataserver/e-soup-session.c
+++ b/src/libedataserver/e-soup-session.c
@@ -524,6 +524,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]