utils: Disable automatic gzip content decoding in session

This was interacting badly with the OCI layer downloading, by
automatically uncompressing the gzip:ed layers.
This commit is contained in:
Alexander Larsson committed 2016-12-08 16:41:20 +01:00
1 parent e514dc2e14
commit 9865ed8989
1 file changed
+1
+1
View File
@@ -4299,6 +4299,7 @@ flatpak_create_soup_session (const char *user_agent)
SOUP_SESSION_TIMEOUT, 60,
SOUP_SESSION_IDLE_TIMEOUT, 60,
NULL);
soup_session_remove_feature_by_type (soup_session, SOUP_TYPE_CONTENT_DECODER);
http_proxy = g_getenv ("http_proxy");
if (http_proxy)
{