private HttpResponse executeCurrentRequest ( HttpRequest request ) throws IOException { // enable GZip encoding if necessary if ( ! disableGZipContent && ! ( request . getContent ( ) instanceof EmptyContent ) ) { request . setEncoding ( new GZipEncoding ( ) ) ; } // execute request HttpResponse response = executeCurrentRequestWithoutGZip ( request ) ; return response ; }
Executes the current request with some common code that includes exponential backoff and GZip encoding .