[ 
https://issues.apache.org/jira/browse/CXF-2560?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12782934#action_12782934
 ] 

Sergey Beryozkin commented on CXF-2560:
---------------------------------------

ok... Will add another test... By the way, at the moment, if NOT_FOUND then a 
lot of extra logging is done at the client side's HttpConduit - will be fixed 
too.

> 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
>
> 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.

Reply via email to