From 34e35bbcbfb301520ce2ccca33d63a2eecfd2eda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roberto=20Abdelkader=20Mart=C3=ADnez=20P=C3=A9rez?= Date: Wed, 12 Jun 2019 07:35:39 +0200 Subject: [PATCH] Fixed wrong /request path. --- poc/bin/static | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poc/bin/static b/poc/bin/static index 1149bbb..5698741 100755 --- a/poc/bin/static +++ b/poc/bin/static @@ -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