Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
Fix #127 Remove meta header.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopsilva committed May 6, 2018
1 parent bf55921 commit ff7db64
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public Response intercept(Chain chain) throws IOException {

boolean isApiKeyRequired = original.header(BinanceApiConstants.ENDPOINT_SECURITY_TYPE_APIKEY) != null;
boolean isSignatureRequired = original.header(BinanceApiConstants.ENDPOINT_SECURITY_TYPE_SIGNED) != null;
newRequestBuilder.removeHeader(BinanceApiConstants.ENDPOINT_SECURITY_TYPE_SIGNED)
newRequestBuilder.removeHeader(BinanceApiConstants.ENDPOINT_SECURITY_TYPE_APIKEY)
.removeHeader(BinanceApiConstants.ENDPOINT_SECURITY_TYPE_SIGNED);

// Endpoint requires sending a valid API-KEY
Expand Down

0 comments on commit ff7db64

Please sign in to comment.