cxf-issues mailing list archives

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


Sergey Beryozkin commented on CXF-6638:

Yes, this is strange but this test:

works in 3.0.x/3.1.x but not in 2.7.x. Enabling the chunking did fix it, thanks for identifying
a solution. As I said it is good for 3.1.x/3.0.x too because we do want the large PATCH/etc
payloads to avail of the chunking support...

> AsyncHTTPConduit does not allow body payloads with "PATCH" method
> -----------------------------------------------------------------
>                 Key: CXF-6638
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Transports
>    Affects Versions: 2.7.14
>            Reporter: Ramesh Reddy
> When using "PATCH" http method using the Async Http Transport, the payload is always
> 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
> {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

View raw message