dump resolved path info

This commit is contained in:
yggverse 2025-07-04 11:30:08 +03:00
parent 32291dd630
commit 819a522268
3 changed files with 10 additions and 7 deletions

View file

@ -1,20 +1,21 @@
/// Internal server response types
pub enum Response<'a> {
AccessDenied {
path: std::path::PathBuf,
query: &'a str,
},
InternalServerError {
query: Option<&'a str>,
error: String,
query: Option<&'a str>,
},
NotFound {
query: &'a str,
error: String,
query: &'a str,
},
File(&'a [u8]),
Directory {
query: &'a str,
data: String,
is_root: bool,
query: &'a str,
},
}