summaryrefslogtreecommitdiff
path: root/src/lib/auditor_api_handle.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-05-17 16:30:37 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-05-17 16:30:37 +0200
commit69f1863d899f93a380fbe6be7a73a6467b2a61c3 (patch)
treea85411bec96b5061966415c052aae0b019854e8d /src/lib/auditor_api_handle.c
parent95933156a6d477460a20225209f556208702d55e (diff)
downloadexchange-69f1863d899f93a380fbe6be7a73a6467b2a61c3.tar.gz
exchange-69f1863d899f93a380fbe6be7a73a6467b2a61c3.tar.bz2
exchange-69f1863d899f93a380fbe6be7a73a6467b2a61c3.zip
Compression.
Inclusion of 'content-encoding: deflate' header now (really) happens per request, and not "per state" (where any request got this header appended and broke those unaware requests that didn't compress their data.)
Diffstat (limited to 'src/lib/auditor_api_handle.c')
-rw-r--r--src/lib/auditor_api_handle.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/auditor_api_handle.c b/src/lib/auditor_api_handle.c
index 73ed6b3a..8077b80c 100644
--- a/src/lib/auditor_api_handle.c
+++ b/src/lib/auditor_api_handle.c
@@ -466,12 +466,6 @@ TALER_AUDITOR_connect (struct GNUNET_CURL_Context *ctx,
GNUNET_break (GNUNET_OK ==
GNUNET_CURL_append_header (ctx,
"Expect:"));
-#if COMPRESS_BODIES
- /* Tell auditor we compress bodies */
- GNUNET_break (GNUNET_OK ==
- GNUNET_CURL_append_header (ctx,
- "Content-Encoding: deflate"));
-#endif
auditor = GNUNET_new (struct TALER_AUDITOR_Handle);
auditor->ctx = ctx;
auditor->url = GNUNET_strdup (url);