@SdkInternalApi
    public static InputStream inputStreamForRequest(InputStream is, ProgressListener progressListener) {
        return progressListener == null
                ? is
                : new RequestProgressInputStream(is, progressListener);
    }
@ SdkInternalApi public static InputStream inputStreamForRequest ( InputStream is , ProgressListener progressListener ) { return progressListener == null ? is : new RequestProgressInputStream ( is , progressListener ) ; }
@param is               the request content input stream
@param progressListener Optional progress listener
@return If the progress listener is non null returns a new input stream decorated with
progress reporting functionality. If progress listener is null it returns the same input
stream.