mirror of
https://github.com/c-cube/tiny_httpd.git
synced 2025-12-06 11:15:35 -05:00
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:
parent
c81ca48fbd
commit
a5cf4060f3
1 changed files with 3 additions and 3 deletions
|
|
@ -9,15 +9,15 @@ sleep 0.1
|
||||||
|
|
||||||
echo download1 1>&2
|
echo download1 1>&2
|
||||||
curl -N "http://localhost:${PORT}/foo_50" -o data21 \
|
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
|
echo download2 1>&2
|
||||||
curl -N "http://localhost:${PORT}/foo_50" -o data22 \
|
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
|
echo download3 1>&2
|
||||||
curl -N "http://localhost:${PORT}/foo_50" -o data23 \
|
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
|
kill $PID
|
||||||
wc data21 data22 data23
|
wc data21 data22 data23
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue