From 568a71daa044a637bc8f0d7405180a57a246f7fd Mon Sep 17 00:00:00 2001 From: Markus Goetz Date: Fri, 7 Dec 2012 12:42:26 +0100 Subject: [PATCH] Only send gzip Accept-Encoding .. because later we only support gzip (and not deflate) anyway --- modules/csync_owncloud.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/csync_owncloud.c b/modules/csync_owncloud.c index 1b72d3476b..25654764e1 100644 --- a/modules/csync_owncloud.c +++ b/modules/csync_owncloud.c @@ -1506,7 +1506,7 @@ static csync_vio_method_handle_t *owncloud_open(const char *durl, writeCtx->req = ne_request_create( dav_session.ctx, "GET", uri ); /* Allow compressed content by setting the header */ - ne_add_request_header( writeCtx->req, "Accept-Encoding", "gzip,deflate" ); + ne_add_request_header( writeCtx->req, "Accept-Encoding", "gzip" ); /* hook called before the content is parsed to set the correct reader, * either the compressed- or uncompressed reader.