mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Only send gzip Accept-Encoding
.. because later we only support gzip (and not deflate) anyway
This commit is contained in:
parent
7ee75f5499
commit
568a71daa0
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user