(ts, idx, encodingList, out_path)
| 59 | |
| 60 | |
| 61 | def curl(ts, idx, encodingList, out_path): |
| 62 | return ( |
| 63 | f"-o {out_path} --verbose --proxy http://127.0.0.1:{ts.Variables.port}" |
| 64 | f" --header 'X-Ats-Compress-Test: {idx}/{encodingList}'" |
| 65 | f" --header 'Accept-Encoding: {encodingList}' 'http://ae-{idx}/obj{idx}'" |
| 66 | " 2>> compress_long.log ; printf '\n===\n' >> compress_long.log") |
| 67 | |
| 68 | |
| 69 | def curl_post(ts, idx, encodingList, out_path): |