ATLAS-3506 Add Expect 100 Continue header to Atlas Client.

Signed-off-by: Ashutosh Mestry <amestry@hortonworks.com>
This commit is contained in:
Mukund Thakur 2019-11-05 16:05:26 +05:30 committed by Ashutosh Mestry
parent f6e252f8bb
commit dca71ddfba
1 changed files with 2 additions and 1 deletions

View File

@ -372,7 +372,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) {