fn parse_http_response(
response: &[u8],
) -> Result<(u16, Vec<u8>, HashMap<String, String>), String>Expand description
Parse a raw HTTP response into (status, body, headers). Operates on raw bytes so binary bodies (PNG, JPEG, WASM, etc.) are never corrupted by UTF-8 lossy conversion. Only the headers portion (which is always ASCII) is decoded as UTF-8.