cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-6638) AsyncHTTPConduit does not allow body payloads with "PATCH" method
Date Tue, 13 Oct 2015 16:17:05 GMT

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

Sergey Beryozkin resolved CXF-6638.
-----------------------------------
       Resolution: Fixed
         Assignee: Sergey Beryozkin
    Fix Version/s: 3.1.4
                   3.0.7
                   2.7.18

> AsyncHTTPConduit does not allow body payloads with "PATCH" method
> -----------------------------------------------------------------
>
>                 Key: CXF-6638
>                 URL: https://issues.apache.org/jira/browse/CXF-6638
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.7.14
>            Reporter: Ramesh Reddy
>            Assignee: Sergey Beryozkin
>             Fix For: 2.7.18, 3.0.7, 3.1.4
>
>
> When using "PATCH" http method using the Async Http Transport, the payload is always
null.
> After debugging, I saw that _AsyncHTTPConduit_ class does not override the  "isChunkingSupported"
method. Something like following is needed to be added to this class to allow PATCH call with
payload
> {code}
>     protected boolean isChunkingSupported(Message message, String httpMethod) {
>         if ("PATCH".equals(httpMethod)) { 
>             return true;
>         }
>         return super.isChunkingSupported(message, httpMethod);
>     }
> {code}
> There may be other methods this need to support.



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

Mime
View raw message