Update download_chunked.sh

There was a type: Tranfer instead of Transfer and anyway we want Accept. But Accept-encoding is not looked at for chunked.
This commit is contained in:
Christophe Raffalli 2023-02-07 16:15:08 -10:00 committed by GitHub
parent c81ca48fbd
commit a5cf4060f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,15 +9,15 @@ sleep 0.1
echo download1 1>&2
curl -N "http://localhost:${PORT}/foo_50" -o data21 \
-H 'Tranfer-encoding: chunked' --max-time 10
-H 'Accept-encoding: chunked' --max-time 10
echo download2 1>&2
curl -N "http://localhost:${PORT}/foo_50" -o data22 \
-H 'Tranfer-encoding: chunked' --max-time 10
-H 'Accept-encoding: chunked' --max-time 10
echo download3 1>&2
curl -N "http://localhost:${PORT}/foo_50" -o data23 \
-H 'Tranfer-encoding: chunked' --max-time 10
-H 'Accept-encoding: chunked' --max-time 10
kill $PID
wc data21 data22 data23