You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2009/12/04 22:09:20 UTC
[jira] Resolved: (CXF-2560) WebClient doesns't read response body
if status code means some error
[ https://issues.apache.org/jira/browse/CXF-2560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-2560.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.3
Assignee: Sergey Beryozkin
> WebClient doesns't read response body if status code means some error
> ---------------------------------------------------------------------
>
> Key: CXF-2560
> URL: https://issues.apache.org/jira/browse/CXF-2560
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS
> Affects Versions: 2.2.5
> Reporter: Roman Kalukiewicz
> Assignee: Sergey Beryozkin
> Fix For: 2.3
>
>
> In {{org.apache.cxf.jaxrs.client.AbstractClient.readBody(Response, HttpURLConnection, Message, Class<?>, Type, Annotation[])}} there is a conddition that causes {{WebClient}} not to read the content of the response if status code describes some kind of error.
> I believe that if some response is sent by the server I should be able to read it even if the status is for example 404.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.