aboutsummaryrefslogtreecommitdiff
path: root/bin/urlmt
diff options
context:
space:
mode:
Diffstat (limited to 'bin/urlmt')
-rwxr-xr-xbin/urlmt3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/urlmt b/bin/urlmt
new file mode 100755
index 00000000..465ff588
--- /dev/null
+++ b/bin/urlmt
@@ -0,0 +1,3 @@
+#!/bin/sh
+# Get the MIME type for a given URL
+urlh "$1" Content-Type | sed 's/; .*//'