*/
@Test
public void testDefaultContentTypeForReader() throws Exception {
final HttpPost httpPost = new HttpPost(UriBuilder.fromUri(getBaseUri()).path("resource/plain").build());
httpPost.setEntity(new ByteArrayEntity("value".getBytes()));
httpPost.removeHeaders("Content-Type");
final HttpClient httpClient = HttpClientBuilder.create().build();
final HttpResponse response = httpClient.execute(httpPost);
assertEquals(200, response.getStatusLine().getStatusCode());