mirror of https://github.com/omar-polo/gmid.git
reduced the timeout time for single checks
This commit is contained in:
parent
d046e4d6b5
commit
260becda9c
|
@ -78,19 +78,19 @@ setup_simple_test() {
|
||||||
# usage: get <path>
|
# usage: get <path>
|
||||||
# return the body of the request on stdout
|
# return the body of the request on stdout
|
||||||
get() {
|
get() {
|
||||||
$gg -T30 -b $ggflags "gemini://localhost:10965/$1"
|
$gg -T10 -b $ggflags "gemini://localhost:10965/$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
# usage: head <path>
|
# usage: head <path>
|
||||||
# return the meta response line on stdout
|
# return the meta response line on stdout
|
||||||
head() {
|
head() {
|
||||||
$gg -T30 -h $ggflags "gemini://localhost:10965/$1"
|
$gg -T10 -h $ggflags "gemini://localhost:10965/$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
# usage: raw <path>
|
# usage: raw <path>
|
||||||
# return both header and body
|
# return both header and body
|
||||||
raw() {
|
raw() {
|
||||||
$gg -T30 $ggflags "gemini://localhost:10965/$1"
|
$gg -T10 $ggflags "gemini://localhost:10965/$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
# usage: fetch <path>
|
# usage: fetch <path>
|
||||||
|
|
Loading…
Reference in New Issue