} else if (reqDotVersion == 1) {
version = new HttpVersion(1, 1);
}
// and if not any of these, trust that a Null version will
// cause an appropriate error
callback.handleStatusLine(new BasicStatusLine(version, statusCode, "Status set by browsermob-proxy"));
// No mechanism to look up the response text by status code,
// so include a notification that this is a synthetic error code.
} else {
response = httpClient.execute(method, ctx);
statusLine = response.getStatusLine();