fix various issued wrt HTTP POSTS and preflightling
authorSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>
Sat, 23 Jun 2018 15:13:59 +0000 (17:13 +0200)
committerSchanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de>
Sat, 23 Jun 2018 15:13:59 +0000 (17:13 +0200)
src/gns/gnunet-gns-proxy.c

index 52291bff039391cf940f0a831739c44b98bce977..08450d9955e89f5df5d6b36c10a0779186a9ed66 100644 (file)
@@ -1722,12 +1722,6 @@ con_val_iter (void *cls,
                         key)) &&
        (NULL != s5r->leho) )
     value = s5r->leho;
-  if (0 == strcasecmp (MHD_HTTP_HEADER_CONTENT_LENGTH,
-                      key))
-    return MHD_YES;
-  if (0 == strcasecmp (MHD_HTTP_HEADER_ACCEPT_ENCODING,
-                      key))
-    return MHD_YES;
   GNUNET_asprintf (&hdr,
                    "%s: %s",
                    key,