} catch (UnsupportedEncodingException ex) {
getLogger().error("Could not create auth header for request, "
+ "could not encode credentials into base64. Canceling op."
+ op, ex);
op.cancel();
connRequest.cancel();
}
}
HttpContext context = conn.getContext();
RequestHandle handle = new RequestHandle(connMgr, conn);
context.setAttribute("request-handle", handle);