diff --git a/src/http/h1.rs b/src/http/h1.rs index abfe8dd0..06bb8045 100644 --- a/src/http/h1.rs +++ b/src/http/h1.rs @@ -732,10 +732,11 @@ pub struct Incoming { pub headers: Headers } -pub const SP: u8 = b' '; +/// The `\r` byte. pub const CR: u8 = b'\r'; +/// The `\n` byte. pub const LF: u8 = b'\n'; -pub const STAR: u8 = b'*'; +/// The bytes `\r\n`. pub const LINE_ENDING: &'static str = "\r\n"; #[cfg(test)]