Function async_scgi::headers::encode_headers[][src]

pub fn encode_headers(headers: &ScgiHeaders, content_length: usize) -> Vec<u8>
Expand description

Encode headers to be sent over the wire.

The SCGI and CONTENT_LENGTH headers are added automatically.