> + HttpRequest.Builder requestBuilder, > + String method, > + URI endpoint, > + Payload payload > + ) { > + InputStream payloadStream; > + try { > + payloadStream = usePayloadForQueryParameters(method, payload) ? > + getQueryStringContent(endpoint) > + : getPayloadContentWithoutQueryString(payload); > + } catch (IOException e) { > + throw new HttpException("Unable to open stream before calculate > AWS4 signature", e); > + } > + String contentSha256 = > base16().lowerCase().encode(hash(payloadStream)); > + try { > + payloadStream.reset();
What happens when the payload is not repeatable? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/678/files#r25824362