Fixed wrong /request path.

This commit is contained in:
Roberto Abdelkader Martínez Pérez
2019-06-12 07:35:39 +02:00
parent 77f2855471
commit 34e35bbcbf
+1 -1
View File
@@ -15,7 +15,7 @@ else
;;
*)
response /status 200
response /header/Content-Type "$(python -m mimetypes "$BASE/$REAL" | awk '/type:/ {print $2; exit 0}; !/type:/ {print "application/octet-stream"}')"
response /headers/Content-Type "$(python -m mimetypes "$BASE/$REAL" | awk '/type:/ {print $2; exit 0}; !/type:/ {print "application/octet-stream"}')"
response /body < "$BASE/$REAL"
esac
fi