TestUtils.stream2string((FileInputStream)response.getEntity(), UTF_CHARSET).getBytes(UTF_CHARSET);
assertTrue(Arrays.equals(UTF_CONTENT, responseContent));
assertEquals(UTF_CONTENT_TYPE, response.getContentType().toString());
// System.out.println("Content in UTF-8 encoding:\t" + new String(responseContent,
// UTF_CHARSET));
headers.clear();
headers.add(HttpHeaders.CONTENT_TYPE, WIN_CONTENT_TYPE);
response = service("PUT", getPathWS() + WIN_FILE, "", headers, WIN_CONTENT);
assertEquals(HTTPStatus.CREATED, response.getStatus());
response = service("GET", getPathWS() + WIN_FILE, "", null, null);