Skip to main content

http_validate_content_type

Function http_validate_content_type 

Source
pub fn http_validate_content_type(
    response: &HttpResponse,
    expected: &str,
) -> Result<()>
Expand description

Verify the response Content-Type matches expected (ignoring parameters).