docs(http): document consts CR, LR, and LINE_ENDING

This commit is contained in:
Sean McArthur
2015-07-08 10:31:31 -07:00
parent 5994a6f8b4
commit 9bf60b65a0

View File

@@ -732,10 +732,11 @@ pub struct Incoming<S> {
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)]