pub fn get_body_length_request<T>(request: &Request<T>) -> usize
Expand description

Gets the body length from the Request::headers of request.

If method_has_request_body returns false or the header isn’t present, it defaults to 0.