public Cancellable verify(
final HttpRequest request,
final HttpAsyncContinueTrigger trigger,
final HttpContext context) throws HttpException, IOException {
ProtocolVersion ver = request.getRequestLine().getProtocolVersion();
if (!ver.lessEquals(HttpVersion.HTTP_1_1)) {
ver = HttpVersion.HTTP_1_1;
}
String creds = this.authTokenExtractor.extract(request);
if (creds == null || !creds.equals("test:test")) {
HttpResponse response = new BasicHttpResponse(ver, HttpStatus.SC_UNAUTHORIZED, "UNAUTHORIZED");