Is there a way to log the http request and response? Let's assume the below request
Connection.Response res = Jsoup.connect("LOGIN_URL_HERE")
.data("user", "USER", "pass", "PASS")
.method(Connection.Method.POST)
.execute();
How can I log the http request and response? Please mind that I want the HTTP and not just the HTML that will be parsed.