mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-21 20:18:06 +02:00
docs(configuration): improve clarity and formatting in configuration documentation
This commit is contained in:
parent
9062cd652a
commit
32211079a0
32 changed files with 717 additions and 380 deletions
|
|
@ -1665,9 +1665,7 @@ mod tests {
|
|||
smuggled: "X-Injected",
|
||||
}],
|
||||
};
|
||||
let probes = vec![header_wire_probe(
|
||||
b"Set-Cookie: a=1\r\nX-Injected: 1\r\n",
|
||||
)];
|
||||
let probes = vec![header_wire_probe(b"Set-Cookie: a=1\r\nX-Injected: 1\r\n")];
|
||||
assert!(oracle_fired(&oracle, &outcome(), &probes));
|
||||
}
|
||||
|
||||
|
|
@ -1696,9 +1694,7 @@ mod tests {
|
|||
smuggled: "x-injected",
|
||||
}],
|
||||
};
|
||||
let probes = vec![header_wire_probe(
|
||||
b"SET-COOKIE: a=1\r\nX-INJECTED: 1\r\n",
|
||||
)];
|
||||
let probes = vec![header_wire_probe(b"SET-COOKIE: a=1\r\nX-INJECTED: 1\r\n")];
|
||||
assert!(oracle_fired(&oracle, &outcome(), &probes));
|
||||
}
|
||||
|
||||
|
|
@ -1714,10 +1710,7 @@ mod tests {
|
|||
smuggled: "X-Injected",
|
||||
}],
|
||||
};
|
||||
let probes = vec![header_emit_probe(
|
||||
"Set-Cookie",
|
||||
"a=1\r\nX-Injected: 1",
|
||||
)];
|
||||
let probes = vec![header_emit_probe("Set-Cookie", "a=1\r\nX-Injected: 1")];
|
||||
assert!(!oracle_fired(&oracle, &outcome(), &probes));
|
||||
}
|
||||
|
||||
|
|
@ -1731,9 +1724,7 @@ mod tests {
|
|||
header_name: "Set-Cookie",
|
||||
}],
|
||||
};
|
||||
let probes = vec![header_wire_probe(
|
||||
b"Set-Cookie: a=1\r\nX-Injected: 1\r\n",
|
||||
)];
|
||||
let probes = vec![header_wire_probe(b"Set-Cookie: a=1\r\nX-Injected: 1\r\n")];
|
||||
assert!(!oracle_fired(&oracle, &outcome(), &probes));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue