final HttpAsyncContinueTrigger trigger,
final HttpContext context) throws HttpException {
ProtocolVersion ver = request.getRequestLine().getProtocolVersion();
String s = request.getRequestLine().getUri();
if (!s.equals("AAAAAx10")) {
if (!ver.lessEquals(HttpVersion.HTTP_1_1)) {
ver = HttpVersion.HTTP_1_1;
}
BasicHttpResponse response = new BasicHttpResponse(ver,
HttpStatus.SC_EXPECTATION_FAILED, "Expectation failed");
response.setEntity(NStringEntity.create("Expectation failed"));