Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GmHhg7hLrpgArYQDUZQTAJ
This commit is contained in:
@ -6223,6 +6223,11 @@ async fn system_seite_zeigt_karten_und_der_diagnoseknopf_ist_nur_fuer_admin_mit_
|
||||
);
|
||||
let ok = post(admin.clone(), format!("csrf={csrf}")).await;
|
||||
assert_eq!(ok.status(), 200);
|
||||
assert_eq!(
|
||||
ok.headers().get_all("cache-control").iter().count(),
|
||||
1,
|
||||
"Cache-Control genau einmal"
|
||||
);
|
||||
assert_eq!(ok.headers()["cache-control"], "no-store");
|
||||
assert!(
|
||||
ok.headers()["content-disposition"]
|
||||
|
||||
Reference in New Issue
Block a user