detect_content_type


Description:

protected string detect_content_type (MessageHeaders headers)

Extract Content-Type from response headers.

Parameters:

headers

The response headers

Returns:

Content-Type string or "application/octet-stream" if not found