From 7725d5fcbc7226d6b6317ff04a486aa3aae83348 Mon Sep 17 00:00:00 2001 From: Jonas Berlin Date: Thu, 21 Jan 2016 01:09:27 +0200 Subject: [PATCH] Log incoming request version --- source/org/otherone/vhostproxy/vertx/run.ceylon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/org/otherone/vhostproxy/vertx/run.ceylon b/source/org/otherone/vhostproxy/vertx/run.ceylon index 967d73a..45843b5 100644 --- a/source/org/otherone/vhostproxy/vertx/run.ceylon +++ b/source/org/otherone/vhostproxy/vertx/run.ceylon @@ -173,7 +173,7 @@ class ProxyService(HttpClient client, Boolean isTls, Vertx myVertx) { } String dumpCReq(HttpClientRequest req) => "\n" + req.method().name + " " + req.uri() + dumpHeaders(req.headers(), ""); - String dumpSReq(HttpServerRequest req, String indent) => "\n" + indent + req.method().name + " " + req.uri() + dumpHeaders(req.headers(), indent); + String dumpSReq(HttpServerRequest req, String indent) => "\n" + indent + req.method().name + " " + req.uri() + " " + req.version().name + dumpHeaders(req.headers(), indent); String dumpCRes(HttpClientResponse res) => "\n" + res.statusCode().string + " " + res.statusMessage() + dumpHeaders(res.headers(), ""); String dumpSRes(HttpServerResponse res) => "\n" + res.getStatusCode().string + " " + res.getStatusMessage() + dumpHeaders(res.headers(), "");