diff --git a/src/main/java/org/asamk/signal/http/HttpServerHandler.java b/src/main/java/org/asamk/signal/http/HttpServerHandler.java index f6301e0a..a5213df7 100644 --- a/src/main/java/org/asamk/signal/http/HttpServerHandler.java +++ b/src/main/java/org/asamk/signal/http/HttpServerHandler.java @@ -59,7 +59,7 @@ public class HttpServerHandler { httpExchange.getResponseBody().write(byteResponse); } else { - httpExchange.sendResponseHeaders(status, 0); + httpExchange.sendResponseHeaders(status, -1); } httpExchange.getResponseBody().close();