public static final int delete(final HttpClient httpClient, final String url) throws IOException {
return httpClient.execute(new HttpDelete(url), new StatusCodeResponseHandler());
}
public static final String execute(final HttpClient httpClient, final HttpUriRequest request) throws IOException {
return httpClient.execute(request, new ErrorPreservingResponseHandler());
}