call.addRequestHeader("Accept", "application/xml");
client.executeMethod(call);
PackageListDTO dto = helper.jaxbTransformation(PackageListDTO.class,
call.getResponseBodyAsStream(),
PackageListDTO.RELATED_CLASSES);
PackageDTO pkg = dto.getSelectedPackage(pkgName);
List<String> urls = new ArrayList<String>();
for (String url : pkg.getAssets()) {
GetMethod subCall = helper.createGetMethod(url);
try {
helper.setAuth(client, call);
subCall.addRequestHeader("Accept", "application/xml");
client.executeMethod(subCall);