diff --git a/docs/TODO.md b/docs/TODO.md index b6b657f..493c7fb 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -8,3 +8,7 @@ - [ ] File management - [ ] Auto-cleanup - [ ] Transversal utility + +## Improvements + +- [ ] Check any potential error in Request Parsing and return a 500 error. diff --git a/src/http/types.rs b/src/http/types.rs index 8c18fbd..0a669f6 100644 --- a/src/http/types.rs +++ b/src/http/types.rs @@ -9,7 +9,7 @@ pub type Body<'a> = Option<&'a str>; #[derive(Debug)] pub struct ProcessedResponse { pub data: String, - pub status: Status, + pub status: Status, // NOTE: this is dupped, but might be useful so I'll keep it } pub type QueryParams<'a> = HashMap<&'a str, &'a str>;