Only send gzip Accept-Encoding

.. because later we only support gzip (and not deflate) anyway
This commit is contained in:
Markus Goetz 2012-12-07 12:42:26 +01:00 committed by Klaas Freitag
parent 7ee75f5499
commit 568a71daa0

View File

@ -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.