CRLF

Constant CRLF 

Source
pub const CRLF: &str = "\r\n";
Expand description

CRLF represents the Carriage Return (CR) and Line Feed (LF) characters combined (ā€œ\r\nā€). It is commonly used as the end-of-line sequence in HTTP requests and responses.

CRLF is utilized to signify the end of a line in HTTP messages, ensuring compatibility with the HTTP protocol.

use mini_server::CRLF;

let http_line = format!("--- boundry{}{}", CRLF, CRLF);