// Ignore anything other than a 200 OK response
if (response.getStatusLine().getStatusCode() == HttpStatus.SC_OK) {
scriptSource = EntityUtils.toByteArray(response.getEntity());
}
} catch (ClientProtocolException e) {
throw new ParseException(e);
} catch (IOException e) {
throw new ParseException(e);
}
return scriptSource;
}