ATLAS-3506 Add Expect 100 Continue header to Atlas Client.
Signed-off-by: Ashutosh Mestry <amestry@hortonworks.com>
This commit is contained in:
parent
f6e252f8bb
commit
dca71ddfba
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue