MCPcopy Create free account
hub / github.com/apache/trafficserver / curl

Function curl

tests/gold_tests/pluginTest/compress/compress.test.py:61–66  ·  view source on GitHub ↗
(ts, idx, encodingList, out_path)

Source from the content-addressed store, hash-verified

59
60
61def 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
69def curl_post(ts, idx, encodingList, out_path):

Callers 1

compress.test.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected