Add testfiles to serve
This commit is contained in:
@@ -9,7 +9,7 @@ function TestGetHeader()
|
||||
if [ -n "$headerContentType" ]; then
|
||||
echo "SUCCESS HEAD $1"
|
||||
else
|
||||
echo "FAILURE HEAD $1 contains bad MIME type (expected <Content-Type: $2> but got <$headerContentType>)"
|
||||
echo "FAILURE HEAD $1 contains bad MIME type (expected <Content-Type: $2>"
|
||||
fi
|
||||
|
||||
rm $curlHeaderOutputFile
|
||||
@@ -32,7 +32,8 @@ echo "*********"
|
||||
TestHEAD "index.html" 'text/html'
|
||||
TestHEAD "robedude.png" 'image/png'
|
||||
TestHEAD "hope.jpg" 'image/jpeg'
|
||||
TestHEAD "nevada.mp3" 'audio/mpeg3'
|
||||
TestHEAD "ouroboros-by-kevin-macleod.mp3" 'audio/mpeg3'
|
||||
TestHEAD "file_example_MP4_480_1_5MG.mp4" 'video/mp4'
|
||||
TestHEAD "index.css" 'text/css'
|
||||
TestHEAD "test.js" 'application/javascript'
|
||||
TestHEAD "subdir/index.html" 'text/html'
|
||||
Reference in New Issue
Block a user