String contentType = get.getContentType(); int i = contentType.indexOf(';'); if (i > 0)
ret.contentType = doit.getContentType(); ret.contentEncoding = doit.getContentEncoding(); ret.syncOutput = bos.toByteArray();
if (ManifestReader.CONTENT_TYPE.equals(get.getContentType())) { // view=manifest String responseContent = bos.toString("UTF-8"); log.debug("response from " + url + "\n" + responseContent); + " with view=manifest [" + get.getResponseCode() + ", " + get.getContentType() + "]"); } catch (MalformedURLException bug) { log.error("failed to read DataLink result table", bug);
log.debug("Content-Type: " + httpDownload.getContentType());
log.debug("Content-Type: " + httpDownload.getContentType());