Details
-
Bug
-
Resolution: Not a Bug
-
Major
-
None
-
4.3.1.Final
-
None
Description
When using the proxy client, generic code which handles WebApplicationException may fail if it calls hasEntity() on a response which for example is a 3xx response.
It seems acceptable, that in this case (the response is closed) hasEntity could simply return false when closed, rather than throw an IllegalStateException.