readwwwlog: allow text/x-makefile and so on
This commit is contained in:
parent
7ef9b7f1e9
commit
298b215c3d
@ -58,7 +58,7 @@ for url in ${urls}; do
|
||||
cmd=(${TERMINAL} ${termopts} -e ${cmd})
|
||||
fi
|
||||
|
||||
if [[ ${headers[(I)*text/plain*]} -ne 0 ]] || \
|
||||
if [[ ${headers[(I)*text/*]} -ne 0 ]] || \
|
||||
[[ ${headers[(I)*HTTP/1.1 405*]} -ne 0 ]]; then # No HEAD allowed
|
||||
[[ ${url} =~ 'dpaste\.com' ]] && sleep 1
|
||||
local file="$(mktemp --suffix='.readwwwlog')"
|
||||
|
Loading…
x
Reference in New Issue
Block a user