[domistream] Host HTTP: strict request head and query parsing into typed routes, XML answers the client parsers accept (head-end test corrected: a 64 KiB buffer without the empty line is already over the cap)

This commit is contained in:
2026-12-04 12:30:29 +01:00
parent befcd7320a
commit 2ba0926cd6
4 changed files with 527 additions and 54 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ pub(crate) fn hex_encode(bytes: &[u8]) -> String {
s
}
fn hex_digit(c: u8) -> Option<u8> {
pub(crate) fn hex_digit(c: u8) -> Option<u8> {
match c {
b'0'..=b'9' => Some(c - b'0'),
b'a'..=b'f' => Some(c - b'a' + 10),