error_message_from_response

Function error_message_from_response 

Source
pub fn error_message_from_response(raw: &[u8]) -> Option<String>
Expand description

2026-09-26: The message from a complete non-200 HTTP response (status line, headers and body), decoded by the same private reader as streams, chunked bodies included. None unless the response is a non-200 whose body message_from_body can read.