Open EduardoMorras opened 3 years ago
In line 38, curl needs -H'Connection: close' to test correct. If not, it's the same test as keep-alive.
echo "\n\nChunked Request close: (expect empty)" curl -H'Expect:' -H'Connection: close' -H'Transfer-Encoding: chunked' -XPOST --data-binary @test.dat -o r3.dat http://localhost:8080/chunked-req -o r4.dat http://localhos
In line 38, curl needs -H'Connection: close' to test correct. If not, it's the same test as keep-alive.
echo "\n\nChunked Request close: (expect empty)" curl -H'Expect:' -H'Connection: close' -H'Transfer-Encoding: chunked' -XPOST --data-binary @test.dat -o r3.dat http://localhost:8080/chunked-req -o r4.dat http://localhos