@Override protected void prepare( HttpMethod method, String uri, Map<String, String> extraHeaders, Map<String, String> data) { if (lastStatus != 302) { changeProxy(); } super.prepare(method, uri, extraHeaders, data); }