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