[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:
2026-11-07 18:57:54 +01:00
parent 54574702ea
commit f382fe2f76
7 changed files with 158 additions and 51 deletions
+3
View File
@@ -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" => {