pub fn http_response( status: u16, status_text: &str, content_type: &str, body: &str, ) -> String
Simple HTTP response builder.
Sanitizes status_text and content_type to prevent CRLF header injection.
status_text
content_type