Entity<String> entity = Entity.entity("entity",
Response response = Response.ok(entity).build();
MediaType responseMedia = response.getMediaType();
responseMedia is null
According to the spec, is this supposed to work?
No, this use case is not covered. The question is whether is should work... Thoughts?
Given the fact that Entity is from the client API and ResponseBuilder is used almost exclusively on the server-side I am closing the issue without any further action as "works as designed".
Please feel free to reopen if you disagree for any reason.