You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (Jira)" <ji...@apache.org> on 2026/10/16 07:12:00 UTC

[jira] [Resolved] (CXF-7903) Preserve reason phrase in ResponseContext.setStatusInfo

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

Colm O hEigeartaigh resolved CXF-7903.
--------------------------------------
    Resolution: Fixed

> Preserve reason phrase in ResponseContext.setStatusInfo
> -------------------------------------------------------
>
>                 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
>            Assignee: Colm O hEigeartaigh
>            Priority: Major
>             Fix For: 4.2.5, 4.1.10
>
>         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
(v8.20.10#820010)