You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by am...@apache.org on 2019/11/07 05:13:31 UTC
[atlas] branch branch-0.8 updated: ATLAS-3506 Add Expect 100
Continue header to Atlas Client.
This is an automated email from the ASF dual-hosted git repository.
amestry pushed a commit to branch branch-0.8
in repository https://gitbox.apache.org/repos/asf/atlas.git
The following commit(s) were added to refs/heads/branch-0.8 by this push:
new ca952a3 ATLAS-3506 Add Expect 100 Continue header to Atlas Client.
ca952a3 is described below
commit ca952a3794efc2c38bcb98786c9e57878155ce7e
Author: Mukund Thakur <mt...@hortonworks.com>
AuthorDate: Tue Nov 5 16:05:26 2019 +0530
ATLAS-3506 Add Expect 100 Continue header to Atlas Client.
Signed-off-by: Ashutosh Mestry <am...@hortonworks.com>
---
client/common/src/main/java/org/apache/atlas/AtlasBaseClient.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/client/common/src/main/java/org/apache/atlas/AtlasBaseClient.java b/client/common/src/main/java/org/apache/atlas/AtlasBaseClient.java
index 60276ca..862e89c 100644
--- a/client/common/src/main/java/org/apache/atlas/AtlasBaseClient.java
+++ b/client/common/src/main/java/org/apache/atlas/AtlasBaseClient.java
@@ -367,7 +367,8 @@ public abstract class AtlasBaseClient {
// Set content headers
requestBuilder
.accept(api.getProduces())
- .type(api.getConsumes());
+ .type(api.getConsumes())
+ .header("Expect", "100-continue");
// Set cookie if present
if (cookie != null) {