[
https://issues.apache.org/jira/browse/CAMEL-13930?focusedWorklogId=320365&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-320365
]
ASF GitHub Bot logged work on CAMEL-13930:
------------------------------------------
Author: ASF GitHub Bot
Created on: 30/Sep/19 07:02
Start Date: 30/Sep/19 07:02
Worklog Time Spent: 10m
Work Description: oscerd commented on pull request #3211: CAMEL-13930 -
Improve the camel-http docs
URL: https://github.com/apache/camel/pull/3211
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 320365)
Time Spent: 20m (was: 10m)
> camel-http4 - Basic auth and redelivery issue with streaming message body
> -------------------------------------------------------------------------
>
> Key: CAMEL-13930
> URL: https://issues.apache.org/jira/browse/CAMEL-13930
> Project: Camel
> Issue Type: Improvement
> Components: camel-http4
> Reporter: Claus Ibsen
> Assignee: Zheng Feng
> Priority: Major
> Fix For: 3.x
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> There is likely a issue if you use http4 producer with basic auth, then it
> may read the message body when sending to the http server, that then returns
> a basic auth challenge to the client, that then re-submit the request with
> credentials included, and then the message body is re-send but due to
> streaming the body is not re-readable and you can get OEF exception
> Caused by: org.apache.http.client.NonRepeatableRequestException: Cannot retry
> request with a non-repeatable request entity.
> at
> org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:226)
> ~[?:?]
> at
> org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
> ~[?:?]
> at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
> ~[?:?]
> at
> org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
> ~[?:?]
> at
> org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
> ~[?:?]
> ... 37 more
--
This message was sent by Atlassian Jira
(v8.3.4#803005)