1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! Staged per-request metadata for the next SSR page response.
use RefCell;
thread_local!
/// Stage a `Cache-Control` header for the page about to be returned.
/// Take a staged cache header (consumed once per response).
/// Stage the CSRF token for forms rendered during this page pass.
/// CSRF token for the current page render (forms).
/// Stage the CSP nonce for inline/module scripts rendered during this page pass.
/// CSP nonce for the current page render (client components, inline scripts).