[control] API fixes: atomic Idempotency-Key reservation, no echo of odd field names or path parameters, askpass answers only password prompts, file protocol not forced, token test split on the known prefix, serialisation test without second-resolution times
This commit is contained in:
@@ -220,6 +220,9 @@ fn template(code: &str) -> &'static str {
|
||||
"request.host" => "This request was sent to an address Ianitor does not answer on.",
|
||||
"request.not_found" => "There is no such API call.",
|
||||
"request.method" => "This API call does not take that method.",
|
||||
"request.in_progress" => {
|
||||
"The first request with this Idempotency-Key is still being handled. Try again in a moment."
|
||||
}
|
||||
"request.idempotency" => "This Idempotency-Key was already used for a different request.",
|
||||
"request.base_rev" => "base_rev is not a commit in the routes history.",
|
||||
"health.unavailable" => {
|
||||
|
||||
Reference in New Issue
Block a user