mediawire: qBittorrent 5 answers a good login with 204 — accept it (found on Tester 1, Part G1); fake answers 204 like the app
gates / gates (push) Successful in 41s

Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
2026-10-15 10:02:26 +02:00
parent f580d88a14
commit a09cab124a
3 changed files with 5 additions and 2 deletions
@@ -84,6 +84,7 @@ func (w *world) server(t *testing.T) *httptest.Server {
return
}
http.SetCookie(rw, &http.Cookie{Name: "QBT_SID_8080", Value: "sid"})
rw.WriteHeader(204) // qBittorrent 5.x: a good login is 204 No Content (measured on Tester 1, 2026-10-15)
case p == "/api/v2/app/preferences":
j(map[string]interface{}{"auto_tmm_enabled": w.autoTMM})
case p == "/api/v2/app/setPreferences":