TestUtils.stream2string((FileInputStream)response.getEntity(), ISO_CHARSET).getBytes(ISO_CHARSET);
assertTrue(Arrays.equals(ISO_CONTENT, responseContent));
assertEquals(ISO_CONTENT_TYPE, response.getContentType().toString());
// System.out.println("Content in ISO-8859-5 encoding:\t"
// + new String(responseContent, ISO_CHARSET));
headers.clear();
headers.add(HttpHeaders.CONTENT_TYPE, WIN_CONTENT_TYPE);
response = service("PUT", getPathWS() + ISO_FILE, "", headers, WIN_CONTENT);
assertEquals(HTTPStatus.CREATED, response.getStatus());
response = service("GET", getPathWS() + ISO_FILE, "", null, null);