[
https://issues.apache.org/jira/browse/CAMEL-7462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16957750#comment-16957750
]
Zheng Feng commented on CAMEL-7462:
-----------------------------------
Hi [~gzres], I came cross this issue when working on CAMEL-14069 and it seems
that the camel-netty-http still send the body with the request even if we set
the header "Expect: 100-continue". The fix only ignores the HTTP 100-continue
response, is it right ?
> camel-netty-http doesn't use "Expect: 100-continue" correctly
> -------------------------------------------------------------
>
> Key: CAMEL-7462
> URL: https://issues.apache.org/jira/browse/CAMEL-7462
> Project: Camel
> Issue Type: Bug
> Components: camel-netty-http
> Affects Versions: 2.12.3
> Reporter: Grzegorz Grzybek
> Assignee: Grzegorz Grzybek
> Priority: Major
> Fix For: 2.12.4, 2.13.2, 2.14.0
>
>
> Camel-netty-http component, when sending HTTP request with:
> {noformat}
> Expect: 100-continue
> {noformat}
> header, always sends the HTTP body with first request and treats:
> {noformat}
> HTTP/1.1 100 Continue
> {noformat}
> as final response.
> Additionally
> {{org.apache.camel.component.netty.http.handlers.HttpServerChannelHandler}}
> sends {{HTTP/1.1 100 Continue}} partial response after the same partial
> response was send by
> {{org.jboss.netty.handler.codec.http.HttpChunkAggregator#messageReceived}}
> Attached: wireshark session dump.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)