changelog shortlog tags branches changeset file revisions annotate raw help

Mercurial > hg > werc / bin/contrib/rc-httpd/handlers/serve-static

revision 666: fd309a46787c
parent 660: 442e31ec3a03
     1.1--- a/bin/contrib/rc-httpd/handlers/serve-static	Wed Feb 10 20:34:33 2016 -0500
     1.2+++ b/bin/contrib/rc-httpd/handlers/serve-static	Wed Feb 10 20:38:40 2016 -0500
     1.3@@ -31,7 +31,7 @@
     1.4 case *.png
     1.5         type=image/png
     1.6 case *
     1.7-        type=`{file -i $full_path || file -m $full_path}	# GROSS
     1.8+		type=`{file -m $full_path || file -i $full_path}        # GROSS
     1.9 }
    1.10 max_age=3600	# 1 hour
    1.11 echo 'HTTP/1.1 200 OK'^$cr