if (isMediaLengthKnown()) {
// TODO(rmistry): Support gzipping content for the case where media content length is
// known (https://code.google.com/p/google-api-java-client/issues/detail?id=691).
} else if (!disableGZipContent) {
currentRequest.setEncoding(new GZipEncoding());
}
response = executeCurrentRequest(currentRequest);
boolean returningResponse = false;
try {
if (response.isSuccessStatusCode()) {