46 |
|
|
47 |
echo text/html > EXPECTED |
echo text/html > EXPECTED |
48 |
! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/recursive/index.html 2> /dev/null > ACTUAL |
! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/recursive/index.html 2> /dev/null > ACTUAL |
49 |
diff EXPECTED ACTUAL |
diff --strip-trailing-cr EXPECTED ACTUAL |
50 |
|
|
51 |
echo text/plain > EXPECTED |
echo text/plain > EXPECTED |
52 |
! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/recursive/unix.txt 2> /dev/null > ACTUAL |
! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/recursive/unix.txt 2> /dev/null > ACTUAL |
53 |
diff EXPECTED ACTUAL |
diff --strip-trailing-cr EXPECTED ACTUAL |
54 |
|
|
55 |
echo text/plain > EXPECTED |
echo text/plain > EXPECTED |
56 |
! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/recursive/windows.txt 2> /dev/null > ACTUAL |
! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/recursive/windows.txt 2> /dev/null > ACTUAL |
57 |
diff EXPECTED ACTUAL |
diff --strip-trailing-cr EXPECTED ACTUAL |
58 |
|
|
59 |
touch foo |
touch foo |
60 |
echo application/octet-stream > EXPECTED |
echo application/octet-stream > EXPECTED |
61 |
! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/foo 2> /dev/null > ACTUAL |
! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/foo 2> /dev/null > ACTUAL |
62 |
diff EXPECTED ACTUAL |
diff --strip-trailing-cr EXPECTED ACTUAL |
63 |
|
|
64 |
touch foo.bar |
touch foo.bar |
65 |
echo application/octet-stream > EXPECTED |
echo application/octet-stream > EXPECTED |
66 |
! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/foo.bar 2> /dev/null > ACTUAL |
! curl -f -w '%{content_type}\n' -o /dev/null http://127.0.0.1:8080/foo.bar 2> /dev/null > ACTUAL |
67 |
diff EXPECTED ACTUAL |
diff --strip-trailing-cr EXPECTED ACTUAL |