i didnt test this a lot but i added progress bars to GURT:// based downloads 🎉

This commit is contained in:
Gabriella Casap
2025-09-26 14:49:22 +01:00
parent 5e4c381b84
commit 04434f176b
6 changed files with 448 additions and 88 deletions

View File

@@ -225,6 +225,14 @@ pub struct GurtResponse {
pub body: Vec<u8>,
}
#[derive(Debug, Clone)]
pub struct GurtResponseHead {
pub version: String,
pub status_code: u16,
pub status_message: String,
pub headers: GurtHeaders,
}
impl GurtResponse {
pub fn new(status_code: GurtStatusCode) -> Self {
Self {