Skip to content

Commit

Permalink
Issue #1060: Fix xAmzContentSha256 field name; log outgoing HTTP requ…
Browse files Browse the repository at this point in the history
…est on DEBUG.

Signed-off-by: Yufei Cai <yufei.cai@bosch.io>
  • Loading branch information
yufei-cai committed May 20, 2021
1 parent b09190c commit fa807db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Expand Up @@ -95,6 +95,6 @@ public static final class JsonFields {
JsonFieldDefinition.ofJsonArray("canonicalHeaders");

public static JsonFieldDefinition<String> X_AMZ_CONTENT_SHA256 =
JsonFieldDefinition.ofString("X_AMZ_CONTENT_SHA256");
JsonFieldDefinition.ofString("xAmzContentSha256");
}
}
Expand Up @@ -300,7 +300,8 @@ private HttpPushContext newContext(final Signal<?> signal,
escalate(error, errorDescription);
} else {
final HttpResponse response = tryResponse.toEither().right().get();
l.debug("Sent message <{}>. Got response <{} {}>", message, response.status(), response.getHeaders());
l.debug("Sent message <{}> request=<{}>. Got response <{} {}>", message, request,
response.status(), response.getHeaders());

toCommandResponseOrAcknowledgement(signal, autoAckTarget, response, maxTotalMessageSize, ackSizeQuota)
.thenAccept(resultFuture::complete)
Expand Down

0 comments on commit fa807db

Please sign in to comment.