This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 726863b CAMEL-13930 - Improve the camel-http docs to clarify the
authenticationPreemptive option when Basic auth with streaming message body
new 93cf19a Merge pull request #3211 from zhfeng/CAMEL-13930
726863b is described below
commit 726863b39a360147656a7608fa7847df9e275fd5
Author: Amos Feng <[email protected]>
AuthorDate: Mon Sep 30 14:45:18 2019 +0800
CAMEL-13930 - Improve the camel-http docs to clarify the
authenticationPreemptive option when Basic auth with streaming message
body
---
components/camel-http/src/main/docs/http-component.adoc | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/components/camel-http/src/main/docs/http-component.adoc
b/components/camel-http/src/main/docs/http-component.adoc
index ee45e63..da9d5e9 100644
--- a/components/camel-http/src/main/docs/http-component.adoc
+++ b/components/camel-http/src/main/docs/http-component.adoc
@@ -543,6 +543,12 @@ To disable cookies you can set the HTTP Client to ignore
cookies by
adding this URI option: +
`httpClient.cookieSpec=ignoreCookies`
+== Basic auth with the streaming message body
+
+In order to avoid the `NonRepeatableRequestException`, you need to do the
+Preemptive Basic Authentication by adding the option: +
+ `authenticationPreemptive=true`
+
== Advanced Usage
If you need more control over the HTTP producer you should use the