diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/response.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/response.rs b/src/response.rs index cad2f1a..8720eb6 100644 --- a/src/response.rs +++ b/src/response.rs @@ -16,16 +16,6 @@ // Copyright (C) 2022-2022 Fuwn <[email protected]> // SPDX-License-Identifier: GPL-3.0-only -pub struct Header { - status: crate::status::Code, - meta: String, -} -impl ToString for Header { - fn to_string(&self) -> String { - format!("{} {}\r\n", self.status as u8, self.meta) - } -} - pub enum Response { Input(String), SensitiveInput(String), |