ref: d6a4d2d9edf73a3893f3ff6c1bc8bec92464bb84
parent: 16e503337ce2f215a2e9d9f3a8a3679065909c60
author: sl <sl@stanleylieber.com>
date: Wed Feb 10 15:38:40 EST 2016
bin/contrib/rc-httpd/handlers/serve-static: file(1): try Plan 9 syntax first, then devolve to UNIX.
--- a/bin/contrib/rc-httpd/handlers/serve-static
+++ b/bin/contrib/rc-httpd/handlers/serve-static
@@ -31,7 +31,7 @@
case *.png
type=image/png
case *
- type=`{file -i $full_path || file -m $full_path} # GROSS
+ type=`{file -m $full_path || file -i $full_path} # GROSS
}
max_age=3600 # 1 hour
echo 'HTTP/1.1 200 OK'^$cr