Release 2.3.3 to master #204
|
@ -54,8 +54,6 @@ var defaultOptions = map[string]string{
|
||||||
"showimages": "true",
|
"showimages": "true",
|
||||||
"telnetcommand": "telnet",
|
"telnetcommand": "telnet",
|
||||||
"theme": "normal", // "normal", "inverted", "color"
|
"theme": "normal", // "normal", "inverted", "color"
|
||||||
"tlscertificate": "",
|
|
||||||
"tlskey": "",
|
|
||||||
"webmode": "none", // "none", "gui", "lynx", "w3m", "elinks"
|
"webmode": "none", // "none", "gui", "lynx", "w3m", "elinks"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -268,7 +268,7 @@ func Fetch(host, port, resource string, td *TofuDigest) ([]byte, error) {
|
||||||
case 5:
|
case 5:
|
||||||
return make([]byte, 0), fmt.Errorf("[5] Permanent Failure.")
|
return make([]byte, 0), fmt.Errorf("[5] Permanent Failure.")
|
||||||
case 6:
|
case 6:
|
||||||
return make([]byte, 0), fmt.Errorf("[6] Client Certificate Required")
|
return make([]byte, 0), fmt.Errorf("[6] Client Certificate Required (Unsupported)")
|
||||||
default:
|
default:
|
||||||
return make([]byte, 0), fmt.Errorf("Invalid response status from server")
|
return make([]byte, 0), fmt.Errorf("Invalid response status from server")
|
||||||
}
|
}
|
||||||
|
@ -345,7 +345,7 @@ func Visit(host, port, resource string, td *TofuDigest) (Capsule, error) {
|
||||||
case 5:
|
case 5:
|
||||||
return capsule, fmt.Errorf("[5] Permanent Failure. %s", header[1])
|
return capsule, fmt.Errorf("[5] Permanent Failure. %s", header[1])
|
||||||
case 6:
|
case 6:
|
||||||
return capsule, fmt.Errorf("[6] Client Certificate Required")
|
return capsule, fmt.Errorf("[6] Client Certificate Required (Unsupported)")
|
||||||
default:
|
default:
|
||||||
return capsule, fmt.Errorf("Invalid response status from server")
|
return capsule, fmt.Errorf("Invalid response status from server")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user