check url validity with curl
This commit is contained in:
1
bin/curl-header
Symbolic link
1
bin/curl-header
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../web/curl-header
|
||||||
6
web/curl-header
Executable file
6
web/curl-header
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# head trick to prevent unable to write -error.
|
||||||
|
curl -s -D /dev/stderr "$1" | head -c 1 | head -c 0
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user