You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Thorsten Glaser (JIRA)" <ji...@apache.org> on 2018/11/19 16:31:00 UTC

[jira] [Updated] (CXF-7903) AbstractResponseContextImpl.setStatusInfo() is kidding me

     [ https://issues.apache.org/jira/browse/CXF-7903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thorsten Glaser updated CXF-7903:
---------------------------------
    Attachment: CanReturnOtherStatusCodesFilter.java

> AbstractResponseContextImpl.setStatusInfo() is kidding me
> ---------------------------------------------------------
>
>                 Key: CXF-7903
>                 URL: https://issues.apache.org/jira/browse/CXF-7903
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.2.7
>            Reporter: Thorsten Glaser
>            Priority: Major
>         Attachments: CanReturnOtherStatusCodesFilter.java
>
>
> The method {{AbstractResponseContextImpl.setStatusInfo(status)}}  calls {{r.setStatus(status.getStatusCode())}} instead of {{r.setStatusInfo(status)}} which is completely disabling the ability to set custom HTTP response status phrases.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)