the test.py
is equivalent to : gdalwarp -t_srs EPSG:3857 -te -8922952.933898335 5244191.636589372 -8883817.175416324 5283327.395071382 -te_srs EPSG:3857 -ts 128 128 -r bilinear /vsis3/landsat-pds/c1/L8/017/030/LC08_L1TP_017030_20180228_20180308_01_T1/LC08_L1TP_017030_20180228_20180308_01_T1_B1.TIF test.tif
VSI_CACHE=FALSE VSI_CACHE_SIZE=0 CPL_DEBUG=ON CPL_CURL_VERBOSE=YES gdalwarp -t_srs EPSG:3857 -te -8922952.933898335 5244191.636589372 -8883817.175416324 5283327.395071382 -te_srs EPSG:3857 -ts 128 128 -r bilinear /vsis3/landsat-pds/c1/L8/017/030/LC08_L1TP_017030_20180228_20180308_01_T1/LC08_L1TP_017030_20180228_20180308_01_T1_B1.TIF test.tif 2>&1 >/dev/null | grep "Content-Length:"
< Content-Length: 16384
< Content-Length: 8700
< Content-Length: 8700
< Content-Length: 16384