}
public ContainerInfo handleResponse(final HttpResponse response) throws ClientProtocolException, IOException {
if(response.getStatusLine().getStatusCode() == HttpStatus.SC_NO_CONTENT ||
response.getStatusLine().getStatusCode() == HttpStatus.SC_OK) {
return new ContainerInfo(region, container,
this.getContainerObjectCount(response), this.getContainerBytesUsed(response));
}
else if(response.getStatusLine().getStatusCode() == HttpStatus.SC_NOT_FOUND) {
throw new ContainerNotFoundException(new Response(response));
}