final StatusLine statusLine = resp.getStatusLine();\r
if (statusLine.getStatusCode() != HttpStatus.SC_OK) {\r
throw new IOException("Failed to download package " + pkg + ". Server returned " + statusLine);\r
final StatusLine statusLine = resp.getStatusLine();\r
if (statusLine.getStatusCode() != HttpStatus.SC_OK) {\r
throw new IOException("Failed to download package " + pkg + ". Server returned " + statusLine);\r