Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Resteasy 1700 #1244
Thanks for having reported this and for the PR.
Besides for the useless commits that should be squashed and the comments that I've already put in the review, can you please confirm that what you're basically achieving in the PR here is addressing what's written in javax.ws.rs.core.Response javadoc at https://github.com/jax-rs/api/blob/2.0/src/jax-rs-api/src/main/java/javax/ws/rs/core/Response.java#L104 ?
I remember why I used to think Response.getEntity() might be correct. The javadoc for Response.readEntity() says,
I interpreted that to imply that readEntity() had to be called before getEntity().
I don't know ...