Skip to content

Commit

Permalink
Log incoming request version
Browse files Browse the repository at this point in the history
  • Loading branch information
xkr47 committed Jan 20, 2016
1 parent 5b0b2c0 commit 7725d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/org/otherone/vhostproxy/vertx/run.ceylon
Original file line number Diff line number Diff line change
Expand Up @@ -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(), "");

Expand Down

0 comments on commit 7725d5f

Please sign in to comment.