[libsoup] examples: do not add SoupContentDecoder feature to the session in get
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] examples: do not add SoupContentDecoder feature to the session in get
- Date: Tue, 25 May 2021 10:27:50 +0000 (UTC)
commit 69b885d2e813fa9fa7ac5dac58f3e66f4a194b4c
Author: Carlos Garcia Campos <cgarcia igalia com>
Date: Tue May 25 12:04:29 2021 +0200
examples: do not add SoupContentDecoder feature to the session in get
It's added by default to the sessionm adding it again we end up decoding
twice.
examples/get.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/examples/get.c b/examples/get.c
index 3416b1e2..ee70dceb 100644
--- a/examples/get.c
+++ b/examples/get.c
@@ -249,7 +249,6 @@ main (int argc, char **argv)
"accept-language-auto", TRUE,
"timeout", 15,
NULL);
- soup_session_add_feature_by_type (session, SOUP_TYPE_CONTENT_DECODER);
soup_session_add_feature_by_type (session, SOUP_TYPE_COOKIE_JAR);
if (ntlm)
soup_session_add_feature_by_type (session, SOUP_TYPE_AUTH_NTLM);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]