ref: 130a3f44549a705d1149c105862461bdfb115b4d
parent: 66f39ebe38bf186232d3e73ad5bfdf3d91df3dc7
author: Stanley Lieber <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
--
⑨