From f18027a5d10d91e7689f2b942f10244a43ad4034 Mon Sep 17 00:00:00 2001 From: Pascal Christoph Date: Mon, 27 Nov 2023 16:49:40 +0100 Subject: [PATCH] WIP --- metafacture-io/src/main/java/org/metafacture/io/HttpOpener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metafacture-io/src/main/java/org/metafacture/io/HttpOpener.java b/metafacture-io/src/main/java/org/metafacture/io/HttpOpener.java index 307a65482..b0f583942 100644 --- a/metafacture-io/src/main/java/org/metafacture/io/HttpOpener.java +++ b/metafacture-io/src/main/java/org/metafacture/io/HttpOpener.java @@ -248,7 +248,7 @@ public void process(final String input) { final HttpURLConnection connection = (HttpURLConnection) new URL(requestUrl).openConnection(); - + connection.setRequestProperty("Accept-Encoding", "gzip"); connection.setRequestMethod(method.name()); headers.forEach(connection::addRequestProperty);