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

Sergey Beryozkin commented on CXF-6838:
---------------------------------------

How do you resume AsyncResponse, "resume(null)" ?

One can easily do resume(Response.status(204).build());

I'm really not sure what should happen if "resume(null)" is done or if it is 
even a valid option



> AsyncResponse doesn't use 204 when body is empty
> ------------------------------------------------
>
>                 Key: CXF-6838
>                 URL: https://issues.apache.org/jira/browse/CXF-6838
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.1.5
>            Reporter: Romain Manni-Bucau
>
> Hi
> shouldn't org.apache.cxf.jaxrs.impl.AsyncResponseImpl#getResponseObject check 
> if the payload is empty and if so use 204 instead of 200 (ok())?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to